Files
habitica/common
carolstone 9fe96b7f94 Renamed variables for clarity.
Moved calculation to actually change lastcron into its own function.

Changed validation errormessage to run: if ( dayStart != Math.floor(dayStart) || dayStart < 0 || dayStart > 24 ) {error message}.

Created new calculation for daystart because daystart could never be
future to the current timestamp. This "fix" has broken the whole endeavor,
though, because cron runs immedately when newlastcron > now and now >
oldlastcron.
2015-08-05 22:47:45 -04:00
..
2015-06-19 10:42:20 -05:00
2015-07-01 20:19:46 -05:00
2015-07-01 20:19:46 -05:00
2015-08-05 22:47:45 -04:00
2015-02-03 22:07:35 -06:00

Common

Shared resources useful for the multiple HabitRPG repositories, that way all the repositories remain in-sync with common characteristics. Includes things like:

  • Assets - sprites, images, etc
  • CSS - especially, esp. sprite-sheet mapping
  • Algorithms - level up algorithm, scoring functions, etc
  • View helper functions that may come in handy for multiple client MVCs
  • Item definitions - weapons, armor, pets

Compiling spritesheets

Because of some wonkiness with Heroku, the spritesheet compilation is not part of the production build process and must be done manually when new images are added by running:

grunt compile:sprites