habitica-self-host/index.js
Tyler Renelle 1feb209c24 Moving back to the Browserify method of concat'd JS files, which will
then be exposed to the browser as a global. This was decided between
@yangit and me, as we found RequireJS to be too painful to setup for
our use case. This Browserify + Global works just fine for us, and it
fits perfectly as require() statements in our node.js backend
2013-05-19 18:01:01 +01:00

8 lines
No EOL
199 B
JavaScript

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