From 26a6eb506e3c8b88cbe33318d271db41aba8d12d Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Wed, 30 Mar 2016 13:44:16 +0200 Subject: [PATCH] Allow use of class.js in node. --- js/class.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/class.js b/js/class.js index b1b3059f..cd6cd2dc 100644 --- a/js/class.js +++ b/js/class.js @@ -62,4 +62,8 @@ return Class; }; -})(); \ No newline at end of file +})(); + + +/*************** DO NOT EDIT THE LINE BELOW ***************/ +if (typeof module !== 'undefined') {module.exports = Class;} \ No newline at end of file