summaryrefslogtreecommitdiff
path: root/src/lobject.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/lobject.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/lobject.js')
-rw-r--r--src/lobject.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/lobject.js b/src/lobject.js
index e206bf1..725f63d 100644
--- a/src/lobject.js
+++ b/src/lobject.js
@@ -209,10 +209,8 @@ class Userdata extends TValue {
}
-module.exports = {
- LClosure: LClosure,
- TValue: TValue,
- Table: Table,
- TString: TString,
- Userdata: Userdata
-}; \ No newline at end of file
+module.exports.LClosure = LClosure;
+module.exports.TValue = TValue;
+module.exports.Table = Table;
+module.exports.TString = TString;
+module.exports.Userdata = Userdata; \ No newline at end of file