diff options
Diffstat (limited to 'assets/static/jsrepl/langs/javascript')
-rw-r--r-- | assets/static/jsrepl/langs/javascript/jsrepl_js.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/assets/static/jsrepl/langs/javascript/jsrepl_js.js b/assets/static/jsrepl/langs/javascript/jsrepl_js.js deleted file mode 100644 index 154baed..0000000 --- a/assets/static/jsrepl/langs/javascript/jsrepl_js.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){self.JSREPLEngine=function(){function a(d,b,c,a,e,f){this.result=c;this.error=a;this.sandbox=e;this.inspect=this.sandbox.console.inspect;this.functionClass=this.sandbox.Function;this.sandbox.__eval=this.sandbox.eval;f()}a.prototype.Eval=function(d){var b;try{return b=this.sandbox.__eval(d),this.result(b===void 0?"":this.inspect(b))}catch(a){return this.error(a)}};a.prototype.RawEval=function(a){var b;try{return b=this.sandbox.__eval(a),this.result(b)}catch(c){return this.error(c)}};a.prototype.GetNextLineIndent= -function(a){try{return new this.functionClass(a),false}catch(b){return/[\[\{\(]$/.test(a)?1:0}};return a}()}).call(this); |