Commit Graph

7 Commits

Author SHA1 Message Date
Tyler Renelle 002d4f9541 very strange bug here. If called form the API, require() statements
sometimes return blank objects, but only when required from within
habitrpg-shared - i can require the files directly from the API just
fine. Doesn't help however since habitrpg-shared has dependencies on
itself. @yangit any thoughts?
2013-05-25 19:34:45 +01:00
Tyler Renelle be670dcb04 start adding mocha tests, based on the old user.mocha.coffee 2013-05-24 14:28:57 +01:00
yangit ef9ec0cc22 Coffeeify plugin for browserify to compile .coffee into browser.js. 2013-05-24 13:29:04 +08:00
Tyler Renelle d42ac5d53c helpers.coffee now working with the website 2013-05-19 18:52:13 +01:00
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
yangit 8897cc338a Stripped all derby related code.
Added require.js wrapper.
Alogos is still BROKEN. I'm deploying them here for testing.
2013-05-15 12:51:21 +08:00
Tyler Renelle b832f40315 reverting back to commonjs format, using browserify to compile
index-browser.js which will load into window.habitrpgShared. Not the
best method, we'll move to requirejs (r.js?) later
2013-03-12 17:41:32 -04:00