habitica-self-host/website/common
Keith Holliday e901850a6f continuation of PR #8161 Display error notification when attempting to purchase invalid amount of gems - fixes #8145 (#8688)
* Translation string for error notification

* Use function instead of a link for paypal

* Inject notification service, function to check the amount of gems to purchase, function to handle payments with paypal

* Throw error if amount of gems is zero or negative

* Add condition to raise error if amount is negative

* Added gem errors for gifts 0 or less

* Fixed linting and broken test

* Fixed test syntax

* Added back needed strings

* Fixed group locales
2017-07-06 13:43:43 -07:00
..
locales continuation of PR #8161 Display error notification when attempting to purchase invalid amount of gems - fixes #8145 (#8688) 2017-07-06 13:43:43 -07:00
script Merge remote-tracking branch 'TheHollidayInn/yesterdailies-2' into release 2017-07-05 20:04:26 +00:00
browserify.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
index.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
README.md Common reorg (#8025) 2016-09-16 17:18:07 +02:00

Common

Files that are shared among the server and the client.

  • Code that is run on both the client and the server
  • Item definitions - weapons, armor, pets, etc