hack fix for window.exports
This commit is contained in:
@@ -4,4 +4,7 @@ exports.helpers = require('./helpers')
|
||||
|
||||
// This is how we're exporting this module to the browser. A preferable way would be http://requirejs.org/docs/api.html#packages
|
||||
// but I couldn't get that working
|
||||
if (!!window) window.habitrpgShared = exports;
|
||||
try {
|
||||
window;
|
||||
window.habitrpgShared = exports;
|
||||
} catch(e) {}
|
||||
Reference in New Issue
Block a user