diff options
Diffstat (limited to 'src/linit.js')
-rw-r--r-- | src/linit.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/linit.js b/src/linit.js index f9f8296..4d50f8b 100644 --- a/src/linit.js +++ b/src/linit.js @@ -9,6 +9,7 @@ const lcorolib = require('./lcorolib.js'); const lmathlib = require('./lmathlib.js'); const lstrlib = require('./lstrlib.js'); const ltablib = require('./ltablib.js'); +const lutf8lib = require('./lutf8lib.js'); const lualib = require('./lualib.js'); const loadedlibs = { @@ -16,6 +17,7 @@ const loadedlibs = { [lualib.LUA_MATHLIBNAME]: lmathlib.luaopen_math, [lualib.LUA_STRLIBNAME]: lstrlib.luaopen_string, [lualib.LUA_TABLIBNAME]: ltablib.luaopen_table, + [lualib.LUA_UTF8LIBNAME]: lutf8lib.luaopen_utf8, "_G": lbaselib.luaopen_base }; |