module var fix

This commit is contained in:
Jeffrey Wilcke committed 2015-01-09 12:44:11 +01:00
1 parent 07fba274b1
commit c9015e2e04
1 file changed
+2 -1
+2 -1
View File
@@ -505,4 +505,5 @@ function messageHandler(data) {
}
}
module.exports = web3;
if (typeof(module) !== "undefined")
module.exports = web3;