diff options
author | daurnimator <quae@daurnimator.com> | 2017-08-17 15:39:34 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-08-17 15:39:34 +1000 |
commit | 8548cda030f991823be151af16b18a7527db155a (patch) | |
tree | 7f5f0c88950096f817d1c99c8e73233c3d90e115 /src | |
parent | 901a0c2b833fd99a36c21dea71a548d9d7df2be0 (diff) | |
download | fengari-8548cda030f991823be151af16b18a7527db155a.tar.gz fengari-8548cda030f991823be151af16b18a7527db155a.tar.bz2 fengari-8548cda030f991823be151af16b18a7527db155a.zip |
src/loslib.js: Use WEB define instead of checking for process global
Diffstat (limited to 'src')
-rw-r--r-- | src/loslib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loslib.js b/src/loslib.js index baaee74..a35f150 100644 --- a/src/loslib.js +++ b/src/loslib.js @@ -150,7 +150,7 @@ const syslib = { }; // Only with Node -if (process && process.exit && process.env && process.uptime) { +if (!WEB) { const os_exit = function(L) { let status; if (lua.lua_isboolean(L, 1)) |