Browse Source

Make global functions immutable

adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
e43a9de2f3
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/webui/www/private/scripts/contextmenu.js
  2. 2
      src/webui/www/private/scripts/download.js
  3. 2
      src/webui/www/private/scripts/dynamicTable.js
  4. 2
      src/webui/www/private/scripts/file-tree.js
  5. 2
      src/webui/www/private/scripts/filesystem.js
  6. 2
      src/webui/www/private/scripts/preferences.js
  7. 2
      src/webui/www/private/scripts/progressbar.js
  8. 2
      src/webui/www/private/scripts/prop-files.js
  9. 2
      src/webui/www/private/scripts/prop-general.js
  10. 2
      src/webui/www/private/scripts/prop-peers.js
  11. 2
      src/webui/www/private/scripts/prop-trackers.js
  12. 2
      src/webui/www/private/scripts/prop-webseeds.js
  13. 2
      src/webui/www/private/views/filters.html
  14. 2
      src/webui/www/private/views/installsearchplugin.html
  15. 2
      src/webui/www/private/views/preferences.html
  16. 2
      src/webui/www/private/views/rss.html
  17. 2
      src/webui/www/private/views/rssDownloader.html
  18. 2
      src/webui/www/private/views/search.html
  19. 2
      src/webui/www/private/views/searchplugins.html
  20. 2
      src/webui/www/private/views/transferlist.html

2
src/webui/www/private/scripts/contextmenu.js

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

2
src/webui/www/private/scripts/download.js

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

2
src/webui/www/private/scripts/dynamicTable.js

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

2
src/webui/www/private/scripts/file-tree.js

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

2
src/webui/www/private/scripts/filesystem.js

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

2
src/webui/www/private/scripts/preferences.js

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

2
src/webui/www/private/scripts/progressbar.js

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

2
src/webui/www/private/scripts/prop-files.js

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

2
src/webui/www/private/scripts/prop-general.js

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

2
src/webui/www/private/scripts/prop-peers.js

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

2
src/webui/www/private/scripts/prop-trackers.js

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

2
src/webui/www/private/scripts/prop-webseeds.js

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

2
src/webui/www/private/views/filters.html

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

2
src/webui/www/private/views/installsearchplugin.html

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

2
src/webui/www/private/views/preferences.html

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

2
src/webui/www/private/views/rss.html

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

2
src/webui/www/private/views/rssDownloader.html

@ -791,4 +791,6 @@ Supports the formats: S01E01, 1x1, 2017.12.31 and 31.12.2017 (Date formats also @@ -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>

2
src/webui/www/private/views/search.html

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

2
src/webui/www/private/views/searchplugins.html

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

2
src/webui/www/private/views/transferlist.html

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

Loading…
Cancel
Save