diff options
author | daurnimator <quae@daurnimator.com> | 2018-03-29 02:58:25 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-03-29 02:58:25 +1100 |
commit | e1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e (patch) | |
tree | 53eeb89013007a915018271fc4d007774d2ad747 | |
parent | ae6ac83055d2ad8577a6a43236b123fcbf81225b (diff) | |
download | fengari-e1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e.tar.gz fengari-e1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e.tar.bz2 fengari-e1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e.zip |
README.md: Add note about FENGARICONF
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -84,6 +84,11 @@ In the browser `require` and `package.loadlib` try to find a file by making sync - `luaL_fileresult` takes an extra argument: an error object. The error object should have a field `errno`. +### Configuring + +Some luaconf options can be chosen at library load time. Fengari looks for `process.env.FENGARICONF` and if it exists, parses it as a JSON string. + + ## Extensions ### `dv = lua_todataview(L, idx)` |