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/lua.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/lua.js') diff --git a/src/lua.js b/src/lua.js index 1989133..33cf623 100644 --- a/src/lua.js +++ b/src/lua.js @@ -35,8 +35,6 @@ constant_types.LUA_TLCL = constant_types.LUA_TFUNCTION | (0 << 4); /* Lua closu constant_types.LUA_TLCF = constant_types.LUA_TFUNCTION | (1 << 4); /* light C function */ constant_types.LUA_TCCL = constant_types.LUA_TFUNCTION | (2 << 4); /* C closure */ -module.exports = { - constant_types: constant_types, - thread_status: thread_status, - LUA_MULTRET: -1 -}; \ No newline at end of file +module.exports.constant_types = constant_types; +module.exports.thread_status = thread_status; +module.exports.LUA_MULTRET = -1; \ No newline at end of file -- cgit v1.2.3-54-g00ecf