habitica/index.js
Tyler Renelle 6bf0305ea4 fixed the empty helpers issue. it was circular dependencies - algos
dep'd helpers, helpers dep'd algos. Since one came first, it didn't
have the other - so it was an empty object. maybe this top-level
index.js combinging ./script/* files isn't such a good idea, because I
think manual requires from within a file will resolve circular
dependencies @yangit
2013-06-18 21:40:43 -04:00

8 lines
No EOL
244 B
JavaScript

module.exports.items = require('./script/items.coffee');
module.exports.helpers = require('./script/helpers.coffee');
module.exports.algos = require('./script/algos.coffee');
try {
window;
window.habitrpgShared = exports;
} catch(e) {}