Skip to content
Snippets Groups Projects
Commit d27bd1ce authored by deuce's avatar deuce
Browse files

Put js_script back inside js_exec().

parent ece5cbdf
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,6 @@
js_startup_t startup;
JSRuntime* js_runtime;
JSContext* js_cx;
JSObject* js_script=NULL;
JSObject* js_glob;
js_callback_t cb;
scfg_t scfg;
......@@ -904,6 +903,7 @@ long js_exec(const char *fname, char** args)
size_t len;
char* js_buf=NULL;
size_t js_buflen;
JSObject* js_script=NULL;
JSString* arg;
JSObject* argv;
FILE* fp=stdin;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment