module var fix

This commit is contained in:
Jeffrey Wilcke 2015-01-09 12:44:11 +01:00
parent 07fba274b1
commit c9015e2e04

View File

@ -505,4 +505,5 @@ function messageHandler(data) {
}
}
module.exports = web3;
if (typeof(module) !== "undefined")
module.exports = web3;