Commit Graph

45 Commits

Author SHA1 Message Date
Tyler Renelle ca665d334a tests: get rid of some old useless ones, add in 1-day for dailys 2013-05-24 16:24:18 +01:00
Tyler Renelle 5a2540ec10 test: todos - one day missed 2013-05-24 16:12:55 +01:00
Tyler Renelle d293f7415f always pass paths in options{} for consistency, and that way we can add extra uncommon params to the options{} param without needing to pass paths param 2013-05-24 16:12:25 +01:00
Tyler Renelle be670dcb04 start adding mocha tests, based on the old user.mocha.coffee 2013-05-24 14:28:57 +01:00
Tyler Renelle 30f4f091a4 add newUser to helpers, will be needed when creating new users on mobile 2013-05-24 11:31:32 +01:00
yangit c7f8626040 Coffee sourceMaps! 2013-05-24 15:03:20 +08:00
yangit ef9ec0cc22 Coffeeify plugin for browserify to compile .coffee into browser.js. 2013-05-24 13:29:04 +08:00
Tyler Renelle 4a3e8fdcfa backer tier bug fix 2013-05-23 19:41:28 +01:00
Tyler Renelle f0f68ce5d1 bug fix to todos v cron 2013-05-23 17:33:04 +01:00
Tyler Renelle a8ab98f99a not on instant-use potion 2013-05-22 11:14:59 +01:00
Tyler Renelle 93b629c901 algos bug fixes 2013-05-22 11:03:32 +01:00
Tyler Renelle abb1c7947b fix shouldCron bug 2013-05-22 00:36:43 +01:00
Tyler Renelle 9882e70026 add shouldCron so we can test before running cron 2013-05-20 10:56:55 +01:00
Tyler Renelle 7805a2ba26 fix bugs, add paths method to cron. Now mostly works with the website 2013-05-20 00:51:50 +01:00
Tyler Renelle c0cf9780fe use the path-setting method to notify derby of things that model must change 2013-05-19 23:23:06 +01:00
Tyler Renelle ad9c1940a9 re-jig all algos.coffee. add in changes I made in the recent past, put cron back in (why was this removed altogether??), fix some bugs 2013-05-19 23:22:37 +01:00
Tyler Renelle d42ac5d53c helpers.coffee now working with the website 2013-05-19 18:52:13 +01:00
Tyler Renelle 7f486d8b3c ignore .idea 2013-05-19 18:06:32 +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
Yan 3d6aec94a7 Merge pull request #6 from yangit/master
Coffescript all over!
2013-05-16 19:33:38 -07:00
yangit 6c7bb7d4ab CS all the way! 2013-05-17 10:30:19 +08:00
Yan e586b8bde5 Merge pull request #5 from yangit/master
readme.fix
2013-05-15 07:09:44 -07:00
yangit d3cf80ec02 readme.fix
Alogos are still BROKEN. I'm deploying them here for testing.
2013-05-15 22:08:35 +08:00
Yan a3e8ed78b3 Merge pull request #4 from yangit/master
items.js
2013-05-15 07:01:59 -07:00
yangit 28aa7d2e4f Requred items.js from algos.coffee We do not need to pass items{} to scoring function anymore.
Alogos are still BROKEN. I'm deploying them here for testing.
2013-05-15 21:59:01 +08:00
Yan 1abe136d52 Merge pull request #3 from yangit/master
Boilerplate update
2013-05-14 23:38:08 -07:00
yangit 15c2dc3497 Boilerplate added to helpers.js to be able to include it properly.
Alogos are still BROKEN. I'm deploying them here for testing.
2013-05-15 14:33:12 +08:00
yangit ffdf279ee1 Require.js example expanded.
Helpers.js\moment.js included.
Alogos are still BROKEN. I'm deploying them here for testing.
2013-05-15 14:17:53 +08:00
Yan cef7931b12 Merge pull request #2 from yangit/master
First iteration. Still broken.
2013-05-14 22:32:01 -07:00
yangit ff8721b4a3 Require.js example.
Alogos are still BROKEN. I'm deploying them here for testing.
2013-05-15 13:27:17 +08: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 26086d2f32 remove padding around herobox 2013-04-15 16:14:37 -04:00
Tyler Renelle d464fd6a93 better shared css. we're gona take out shared css in teh end 2013-04-15 16:12:25 -04:00
Tyler Renelle 51f60a1e71 some exclusions from index.css 2013-04-10 16:18:40 -04:00
Tyler Renelle 8391c01992 add equipped to helpers 2013-04-10 15:40:35 -04:00
Tyler Renelle ad3d4fad05 modify css to work with mobile img directory 2013-04-10 15:06:44 -04:00
Tyler Renelle 4a112bb180 add in temp compiled stylus css, full index.css from the website (we
need to come up with something better)
2013-04-10 15:00:40 -04:00
Tyler Renelle 58f6689a33 hack fix for window.exports 2013-04-10 15:00:18 -04:00
Tyler Renelle 3bc77dad6e update images 2013-04-10 14:59:58 -04:00
Tyler Renelle f98a303475 move more scoring functionality into shared. on the web side, we'll
run the batch user object through thse functions, clone at the end,
then set, commit()
2013-03-12 18:10:16 -04:00
Tyler Renelle 6248962d50 update the readme 2013-03-12 17:46:36 -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
Tyler Renelle c5f2a53e44 add helpers.js 2013-03-12 12:25:25 -04:00
Tyler Renelle 7bd30d6924 temporary wrap exports for browser (see
http://caolanmcmahon.com/posts/writing_for_node_and_the_browser/). We
may want to use Browserify. I thougth requirejs would handle require()
for module.exports, but i was wrong
2013-03-12 00:22:51 -04:00
Tyler Renelle ead9de2369 add a bunch of possible shared items for now, will clean up later 2013-03-11 14:50:00 -04:00