1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-29 03:19:54 +00:00

Update web build.

This commit is contained in:
Calvin Rose 2019-03-10 23:06:10 -04:00
parent 51a9c7104d
commit e12aace02c

View File

@ -70,7 +70,7 @@ void repl_init(void) {
janet_init(); janet_init();
janet_register("repl-yield", repl_yield); janet_register("repl-yield", repl_yield);
janet_register("js", cfun_js); janet_register("js", cfun_js);
env = janet_core_env(); env = janet_core_env(NULL);
janet_def(env, "repl-yield", janet_wrap_cfunction(repl_yield), NULL); janet_def(env, "repl-yield", janet_wrap_cfunction(repl_yield), NULL);
janet_def(env, "js", janet_wrap_cfunction(cfun_js), NULL); janet_def(env, "js", janet_wrap_cfunction(cfun_js), NULL);