diff --git a/public_html/registrations.js b/public_html/registrations.js index 353717f..fc1102d 100644 --- a/public_html/registrations.js +++ b/public_html/registrations.js @@ -310,6 +310,6 @@ registration_from_hexid = (function () { })(); // make nodejs happy: -if (module) { +if (typeof module !== 'undefined') { module.exports = registration_from_hexid; }