diff options
author | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-23 16:12:46 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-24 07:41:30 +0100 |
commit | 8b9545c6b2a158d44e18dcaa1147cc1206eabfd3 (patch) | |
tree | a3df523f4d62a99e4e32deecf0aef76ee5adb22f /src/linit.js | |
parent | e8a12210e0a5a0d86b5bacfd10e673b36d56fb38 (diff) | |
download | fengari-8b9545c6b2a158d44e18dcaa1147cc1206eabfd3.tar.gz fengari-8b9545c6b2a158d44e18dcaa1147cc1206eabfd3.tar.bz2 fengari-8b9545c6b2a158d44e18dcaa1147cc1206eabfd3.zip |
table.concat
Diffstat (limited to 'src/linit.js')
-rw-r--r-- | src/linit.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/linit.js b/src/linit.js index d52b640..eb8caf2 100644 --- a/src/linit.js +++ b/src/linit.js @@ -8,10 +8,12 @@ const lauxlib = require('./lauxlib.js'); const lualib = require('./lualib.js'); const lbaselib = require('./lbaselib.js'); const lcorolib = require('./lcorolib.js'); +const ltablib = require('./ltablib.js'); const loadedlibs = { - [lualib.LUA_COLIBNAME]: lcorolib.luaopen_coroutine, - "_G": lbaselib.luaopen_base + [lualib.LUA_TABLIBNAME]: ltablib.luaopen_table, + [lualib.LUA_COLIBNAME]: lcorolib.luaopen_coroutine, + "_G": lbaselib.luaopen_base }; const luaL_openlibs = function(L) { |