diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-13 14:37:01 +0100 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-02-13 21:56:55 +0100 |
commit | 59e549150996ec4c8a049f893dad9ec95a4677e9 (patch) | |
tree | 2a9d72d5b7863a80a7c145adbb3f1a311b8a1fd9 /src/lua.js | |
parent | ab14ee4aa480b21a6e5c6c4d8cdb1823951ed7c3 (diff) | |
download | fengari-59e549150996ec4c8a049f893dad9ec95a4677e9.tar.gz fengari-59e549150996ec4c8a049f893dad9ec95a4677e9.tar.bz2 fengari-59e549150996ec4c8a049f893dad9ec95a4677e9.zip |
Better use of module to avoid cyclic dependencies issues
Diffstat (limited to 'src/lua.js')
-rw-r--r-- | src/lua.js | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -35,8 +35,6 @@ constant_types.LUA_TLCL = constant_types.LUA_TFUNCTION | (0 << 4); /* Lua closu constant_types.LUA_TLCF = constant_types.LUA_TFUNCTION | (1 << 4); /* light C function */ constant_types.LUA_TCCL = constant_types.LUA_TFUNCTION | (2 << 4); /* C closure */ -module.exports = { - constant_types: constant_types, - thread_status: thread_status, - LUA_MULTRET: -1 -};
\ No newline at end of file +module.exports.constant_types = constant_types; +module.exports.thread_status = thread_status; +module.exports.LUA_MULTRET = -1;
\ No newline at end of file |