mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 06:02:29 -06:00
Make global functions immutable
This commit is contained in:
@@ -667,3 +667,5 @@ window.qBittorrent.ContextMenu = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.ContextMenu);
|
||||
|
||||
@@ -142,3 +142,5 @@ window.qBittorrent.Download = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.Download);
|
||||
|
||||
@@ -2495,4 +2495,6 @@ window.qBittorrent.DynamicTable = (function() {
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.DynamicTable);
|
||||
|
||||
/*************************************************************/
|
||||
|
||||
@@ -193,3 +193,5 @@ window.qBittorrent.FileTree = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.FileTree);
|
||||
|
||||
@@ -76,3 +76,5 @@ window.qBittorrent.Filesystem = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.Filesystem);
|
||||
|
||||
@@ -59,3 +59,5 @@ window.qBittorrent.LocalPreferences = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.LocalPreferences);
|
||||
|
||||
@@ -151,3 +151,5 @@ window.qBittorrent.ProgressBar = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.ProgressBar);
|
||||
|
||||
@@ -727,3 +727,5 @@ window.qBittorrent.PropFiles = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.PropFiles);
|
||||
|
||||
@@ -211,3 +211,5 @@ window.qBittorrent.PropGeneral = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.PropGeneral);
|
||||
|
||||
@@ -182,3 +182,5 @@ window.qBittorrent.PropPeers = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.PropPeers);
|
||||
|
||||
@@ -235,3 +235,5 @@ window.qBittorrent.PropTrackers = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.PropTrackers);
|
||||
|
||||
@@ -151,3 +151,5 @@ window.qBittorrent.PropWebseeds = (function() {
|
||||
|
||||
return exports();
|
||||
})();
|
||||
|
||||
Object.freeze(window.qBittorrent.PropWebseeds);
|
||||
|
||||
Reference in New Issue
Block a user