1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-30 08:24:22 +00:00

Make global functions immutable

This commit is contained in:
Chocobo1 2021-03-23 18:50:58 +08:00
parent 901fca2d12
commit e43a9de2f3
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
20 changed files with 40 additions and 0 deletions

View File

@ -667,3 +667,5 @@ window.qBittorrent.ContextMenu = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.ContextMenu);

View File

@ -142,3 +142,5 @@ window.qBittorrent.Download = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.Download);

View File

@ -2495,4 +2495,6 @@ window.qBittorrent.DynamicTable = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.DynamicTable);
/*************************************************************/

View File

@ -193,3 +193,5 @@ window.qBittorrent.FileTree = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.FileTree);

View File

@ -76,3 +76,5 @@ window.qBittorrent.Filesystem = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.Filesystem);

View File

@ -59,3 +59,5 @@ window.qBittorrent.LocalPreferences = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.LocalPreferences);

View File

@ -151,3 +151,5 @@ window.qBittorrent.ProgressBar = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.ProgressBar);

View File

@ -727,3 +727,5 @@ window.qBittorrent.PropFiles = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.PropFiles);

View File

@ -211,3 +211,5 @@ window.qBittorrent.PropGeneral = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.PropGeneral);

View File

@ -182,3 +182,5 @@ window.qBittorrent.PropPeers = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.PropPeers);

View File

@ -235,3 +235,5 @@ window.qBittorrent.PropTrackers = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.PropTrackers);

View File

@ -151,3 +151,5 @@ window.qBittorrent.PropWebseeds = (function() {
return exports();
})();
Object.freeze(window.qBittorrent.PropWebseeds);

View File

@ -159,4 +159,6 @@
return exports();
})();
Object.freeze(window.qBittorrent.Filters);
</script>

View File

@ -80,4 +80,6 @@
return exports();
})();
Object.freeze(window.qBittorrent.InstallSearchPlugin);
</script>

View File

@ -2365,4 +2365,6 @@
return exports();
})();
Object.freeze(window.qBittorrent.Preferences);
</script>

View File

@ -829,4 +829,6 @@
return exports();
})();
Object.freeze(window.qBittorrent.Rss);
</script>

View File

@ -791,4 +791,6 @@ Supports the formats: S01E01, 1x1, 2017.12.31 and 31.12.2017 (Date formats also
initRssDownloader();
return exports();
})();
Object.freeze(window.qBittorrent.RssDownloader);
</script>

View File

@ -737,4 +737,6 @@
return exports();
})();
Object.freeze(window.qBittorrent.Search);
</script>

View File

@ -236,4 +236,6 @@
return exports();
})();
Object.freeze(window.qBittorrent.SearchPlugins);
</script>

View File

@ -109,4 +109,6 @@
return exports();
})();
Object.freeze(window.qBittorrent.TransferList);
</script>