kopia lustrzana https://github.com/c9/core
do not use direct eval
rodzic
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);
|
||||
|
|
Ładowanie…
Reference in New Issue