|
@@ -192,7 +192,7 @@ common.spider.initMirror=function(){
|
|
|
editor_4.setSize("auto","300");
|
|
|
}
|
|
|
common.spider.setExpert=function(editor,text){
|
|
|
- text=text.substr(text.indexOf("func"));
|
|
|
+ text=text.substr(text.indexOf("function "));
|
|
|
eval(editor+".setValue("+JSON.stringify(text, null, "\t")+")")
|
|
|
}
|
|
|
common.spider.guideActive=function(name,li){
|