commit 5eda86a9d0f277edc9c4f804c8558ad0ee741bcc parent 18b9a7787ee66302da2b659ff3f84c3b19106ec6 Author: Agastya Chandrakant <acagastya@outlook.com> Date: Mon, 29 Jul 2019 12:51:09 +0530 module.exports for node Diffstat:
M | jsonify-my-table.js | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/jsonify-my-table.js b/jsonify-my-table.js @@ -32,4 +32,5 @@ class jsonifyMyTable { } } } -exports.jsonifyMyTable = jsonifyMyTable; +if(!window) + module.exports=jsonifyMyTable;