diff options
author | daurnimator <quae@daurnimator.com> | 2018-03-29 02:48:27 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-03-29 02:53:10 +1100 |
commit | ae6ac83055d2ad8577a6a43236b123fcbf81225b (patch) | |
tree | 5dee5c7eef2f617a282bfa736a33d5715a1acaf1 /src/loadlib.js | |
parent | c0308f2401694031b1b09cbd5d8fb3f9312054f2 (diff) | |
download | fengari-ae6ac83055d2ad8577a6a43236b123fcbf81225b.tar.gz fengari-ae6ac83055d2ad8577a6a43236b123fcbf81225b.tar.bz2 fengari-ae6ac83055d2ad8577a6a43236b123fcbf81225b.zip |
src/{defs,luaconf}.js: Move path config to expected location in luaconf.js
Had to move some export statements around, as there is now a circular dependency
Diffstat (limited to 'src/loadlib.js')
-rw-r--r-- | src/loadlib.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/loadlib.js b/src/loadlib.js index fce3d57..533291c 100644 --- a/src/loadlib.js +++ b/src/loadlib.js @@ -4,10 +4,12 @@ const { LUA_DIRSEP, LUA_EXEC_DIR, LUA_JSPATH_DEFAULT, - LUA_OK, LUA_PATH_DEFAULT, LUA_PATH_MARK, - LUA_PATH_SEP, + LUA_PATH_SEP +} = require('./luaconf.js'); +const { + LUA_OK, LUA_REGISTRYINDEX, LUA_TNIL, LUA_TTABLE, |