diff options
author | daurnimator <quae@daurnimator.com> | 2018-03-04 13:03:15 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-03-04 13:03:15 +1100 |
commit | 96f85158be4829f3cc0b9ee09442e26486cee7b2 (patch) | |
tree | fc8dcd62355eb51e169870fdc2fa5db17091b9bd | |
parent | b257a242b5b8aef9f32cddf36f595389ab59dff0 (diff) | |
download | fengari-96f85158be4829f3cc0b9ee09442e26486cee7b2.tar.gz fengari-96f85158be4829f3cc0b9ee09442e26486cee7b2.tar.bz2 fengari-96f85158be4829f3cc0b9ee09442e26486cee7b2.zip |
src/fengari.js: Export luaconf
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | src/fengari.js | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,7 @@ However it is rare to use this repository directly. Once you've loaded fengari, you can use the JS API: ```javascript +const luaconf = fengari.luaconf; const lua = fengari.lua; const lauxlib = fengari.lauxlib; const lualib = fengari.lualib; diff --git a/src/fengari.js b/src/fengari.js index 18efd6c..2fec89a 100644 --- a/src/fengari.js +++ b/src/fengari.js @@ -26,10 +26,12 @@ module.exports.to_jsstring = core.to_jsstring; module.exports.to_luastring = core.to_luastring; module.exports.to_uristring = core.to_uristring; +const luaconf = require('./luaconf.js'); const lua = require('./lua.js'); const lauxlib = require('./lauxlib.js'); const lualib = require('./lualib.js'); +module.exports.luaconf = luaconf; module.exports.lua = lua; module.exports.lauxlib = lauxlib; module.exports.lualib = lualib; |