Files
habitica/website/common/script/ops
Bart Enkelaar dc9800d88a Don't bill (subtract gems) multiple times for multiple unlock item set calls (#12116)
* Issue 11050 - Small tuneups to unlock.js

- Use includes i.o. indexOf
- Extract small function for object setting duplication
- Use every instead of custom counter

* Issue 11050 - Properly store purchased items when purchasing them

* Issue 11050 - Couple more tuneups in unlock.js and implemented partial failure scenario

* Issue 11050 - Fix last lint issue

* Issue 11050 - Check path for gear i.o. failing to write it to purchased

* Issue 11050 - Guarantee variation coverage in tests

* Issue 11050 - Use startsWith instead of includes for background check

* Issue 11050 - Don't unlock lost items
2020-04-24 16:16:34 +02:00
..
2020-03-30 15:38:41 -05:00
2019-10-09 20:19:31 +02:00
2019-10-08 16:57:10 +02:00
2019-10-08 16:57:10 +02:00
2019-10-08 16:57:10 +02:00
2019-10-08 16:57:10 +02:00
2019-10-08 16:57:10 +02:00
2019-10-08 16:57:10 +02:00
2019-10-09 16:51:17 +02:00
2020-03-30 15:38:41 -05:00
2019-10-01 17:53:48 +02:00
2019-10-01 17:53:48 +02:00
2019-10-09 16:51:17 +02:00
2019-10-09 16:51:17 +02:00
2019-10-09 16:51:17 +02:00
2019-10-08 16:57:10 +02:00
2020-03-30 15:38:41 -05:00
2019-10-08 16:57:10 +02:00
2019-10-01 17:53:48 +02:00
2019-10-08 16:57:10 +02:00
2019-10-08 16:57:10 +02:00
2019-10-08 16:57:10 +02:00
2019-10-08 16:57:10 +02:00