Blade Barringer
c91b0cd34a
Moved folders into common directory
2015-01-21 10:34:04 -06:00
Tyler Renelle
954cdf7f29
[ https://github.com/HabitRPG/habitrpg/issues/1977 ] APIv2 WIP - start of a framework where operations are shared between client & server. If the op is called on the client, it updates the user & then POSTs to the server with op of the same name. If called on server, it updates the user and user.save()s
2013-12-11 21:42:05 -07:00
Tyler Renelle
d29f267425
move browserify step to Grunt instead of Make (for consistency). Build files now in dist/ as dist/habitrpg-shared.js & dist/spritesheets.css
2013-08-26 22:09:02 -04:00
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
Tyler Renelle
6998fb70f3
export all scripts into top-level index.js, so that coffeeify includes
...
can import these properly. Hopefully this fixes the empty helpers bug.
@yangit I'll merge this into master once I'm sure it works
2013-06-18 18:21:27 -04:00
yangit
ef9ec0cc22
Coffeeify plugin for browserify to compile .coffee into browser.js.
2013-05-24 13:29:04 +08: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
58f6689a33
hack fix for window.exports
2013-04-10 15:00:18 -04: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