From 59e549150996ec4c8a049f893dad9ec95a4677e9 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Mon, 13 Feb 2017 14:37:01 +0100 Subject: Better use of module to avoid cyclic dependencies issues --- src/lfunc.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/lfunc.js') 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 -- cgit v1.2.3-54-g00ecf