summaryrefslogtreecommitdiff
path: root/src/ltm.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/ltm.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/ltm.js')
-rw-r--r--src/ltm.js14
1 files changed, 6 insertions, 8 deletions
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