aboutsummaryrefslogtreecommitdiff
path: root/src/lfunc.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-13 14:37:01 +0100
committerBenoit Giannangeli <giann008@gmail.com>2017-02-13 21:56:55 +0100
commit59e549150996ec4c8a049f893dad9ec95a4677e9 (patch)
tree2a9d72d5b7863a80a7c145adbb3f1a311b8a1fd9 /src/lfunc.js
parentab14ee4aa480b21a6e5c6c4d8cdb1823951ed7c3 (diff)
downloadfengari-59e549150996ec4c8a049f893dad9ec95a4677e9.tar.gz
fengari-59e549150996ec4c8a049f893dad9ec95a4677e9.tar.bz2
fengari-59e549150996ec4c8a049f893dad9ec95a4677e9.zip
Better use of module to avoid cyclic dependencies issues
Diffstat (limited to 'src/lfunc.js')
-rw-r--r--src/lfunc.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lfunc.js b/src/lfunc.js
index ac09c5e..1a1597a 100644
--- a/src/lfunc.js
+++ b/src/lfunc.js
@@ -88,9 +88,7 @@ const luaF_close = function(L, level) {
}
};
-module.exports = {
- Proto: Proto,
- UpVal: UpVal,
- findupval: findupval,
- luaF_close: luaF_close
-}; \ No newline at end of file
+module.exports.Proto = Proto;
+module.exports.UpVal = UpVal;
+module.exports.findupval = findupval;
+module.exports.luaF_close = luaF_close; \ No newline at end of file