diff options
author | daurnimator <quae@daurnimator.com> | 2018-03-30 15:23:45 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-03-30 15:29:59 +1100 |
commit | 955c73898c992ef15396bafdf4383ce8a9bf1843 (patch) | |
tree | ef605da9f7f946bf35f7397d2dbadded219cb45f /src/linit.js | |
parent | e1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e (diff) | |
download | fengari-955c73898c992ef15396bafdf4383ce8a9bf1843.tar.gz fengari-955c73898c992ef15396bafdf4383ce8a9bf1843.tar.bz2 fengari-955c73898c992ef15396bafdf4383ce8a9bf1843.zip |
Add 'fengari' library containing version numbers etc
Diffstat (limited to 'src/linit.js')
-rw-r--r-- | src/linit.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/linit.js b/src/linit.js index a265045..8f461a4 100644 --- a/src/linit.js +++ b/src/linit.js @@ -38,3 +38,7 @@ loadedlibs[lualib.LUA_UTF8LIBNAME] = luaopen_utf8; loadedlibs[lualib.LUA_DBLIBNAME] = luaopen_debug; if (typeof process !== "undefined") loadedlibs[lualib.LUA_IOLIBNAME] = require('./liolib.js').luaopen_io; + +/* Extension: fengari library */ +const { luaopen_fengari } = require('./fengarilib.js'); +loadedlibs[lualib.LUA_FENGARILIBNAME] = luaopen_fengari; |