mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
do not use direct eval
This commit is contained in:
parent
d33f396a17
commit
01f67ce0b5
@ -76,7 +76,7 @@
|
||||
"c9.ide.ace.stripws": "#34426a03d1",
|
||||
"c9.ide.behaviors": "#6aad7006a0",
|
||||
"c9.ide.closeconfirmation": "#a28bfd8272",
|
||||
"c9.ide.configuration": "#b8470f4107",
|
||||
"c9.ide.configuration": "#f309bb47d2",
|
||||
"c9.ide.dialog.wizard": "#c6401bdd13",
|
||||
"c9.ide.fontawesome": "#781602c5d8",
|
||||
"c9.ide.format": "#f51451ac57",
|
||||
|
||||
@ -39,7 +39,7 @@ define(function(require, exports, module) {
|
||||
for (var i = 0; i < plugins.length; i++) {
|
||||
try {
|
||||
if (plugins[i].setup)
|
||||
plugins[i].setup = eval(plugins[i].setup);
|
||||
plugins[i].setup = window.eval(plugins[i].setup);
|
||||
}
|
||||
catch(e) {
|
||||
console.error("Could not load plugin from cache: " + plugins[i].name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user