Index: tools/consarray.js |
diff --git a/tools/consarray.js b/tools/consarray.js |
index dbce1de29828459c308843d231db7570996c08b0..b01ecdbfcc3b7e9acf145059f85e60a0f8413663 100644 |
--- a/tools/consarray.js |
+++ b/tools/consarray.js |
@@ -90,3 +90,8 @@ ConsArray.Cell = function(data, next) { |
this.data = data; |
this.next = next; |
}; |
+ |
+// Node exports |
+if (typeof module !== 'undefined' && module.exports) { |
+ module.exports = ConsArray; |
+} |