From 8897cc338afc2858fb3485547de4bb4c4099ead3 Mon Sep 17 00:00:00 2001 From: yangit Date: Wed, 15 May 2013 12:51:21 +0800 Subject: [PATCH] Stripped all derby related code. Added require.js wrapper. Alogos is still BROKEN. I'm deploying them here for testing. --- README.md | 7 +- algos.coffee | 378 +++++++++ algos.js | 256 ------ index-browser.js | 2037 ---------------------------------------------- index.js | 10 - items.coffee | 146 ++++ package.json | 2 - 7 files changed, 528 insertions(+), 2308 deletions(-) create mode 100644 algos.coffee delete mode 100644 algos.js delete mode 100644 index-browser.js delete mode 100644 index.js create mode 100644 items.coffee diff --git a/README.md b/README.md index b7e93364c3..9798592610 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,12 @@ Shared resources useful for the multiple HabitRPG repositories, that way all the * Algorithms - level up algorithm, scoring functions, etc * Item definitions - weapons, armor, pets -Note: We can't load CommonJS format into the browser. There's a way to pull it in with RequireJS (r.js?), but I couldn't get that working. Instead I created a `Makefile` which runs Browserify to compile `index-browser.js`, which you include in a `