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/ltm.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/ltm.js') diff --git a/src/ltm.js b/src/ltm.js index 041e233..f963aa9 100644 --- a/src/ltm.js +++ b/src/ltm.js @@ -96,11 +96,9 @@ const luaT_gettmbyobj = function(L, o, event) { return mt ? mt.__index(mt, event) : ldo.nil; }; -module.exports = { - TMS: TMS, - luaT_callTM: luaT_callTM, - luaT_callbinTM: luaT_callbinTM, - luaT_trybinTM: luaT_trybinTM, - luaT_callorderTM: luaT_callorderTM, - luaT_gettmbyobj: luaT_gettmbyobj -}; \ No newline at end of file +module.exports.TMS = TMS; +module.exports.luaT_callTM = luaT_callTM; +module.exports.luaT_callbinTM = luaT_callbinTM; +module.exports.luaT_trybinTM = luaT_trybinTM; +module.exports.luaT_callorderTM = luaT_callorderTM; +module.exports.luaT_gettmbyobj = luaT_gettmbyobj; \ No newline at end of file -- cgit v1.2.3-54-g00ecf