Fix handling of nodejs module stuff when loaded in the browser.

This commit is contained in:
Oliver Jowett 2016-09-10 17:51:57 +01:00
parent 65a0f7f963
commit d75cc94e40

View file

@ -310,6 +310,6 @@ registration_from_hexid = (function () {
})(); })();
// make nodejs happy: // make nodejs happy:
if (module) { if (typeof module !== 'undefined') {
module.exports = registration_from_hexid; module.exports = registration_from_hexid;
} }