tpmkms 7.12.5 → 7.12.6-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/fastfood.instance.json +524 -635
- package/common/fastfood.js +4 -4
- package/common/fastfood.test.json +5372 -0
- package/package.json +2 -2
package/common/fastfood.js
CHANGED
@@ -478,10 +478,7 @@ const template = {
|
|
478
478
|
class API {
|
479
479
|
initialize({ objects, config }) {
|
480
480
|
this._objects = objects
|
481
|
-
this.
|
482
|
-
this._objects.notAvailable = []
|
483
|
-
this._objects.notAvailableModification = []
|
484
|
-
this._objects.item_id_counter = 0
|
481
|
+
this.reset()
|
485
482
|
}
|
486
483
|
|
487
484
|
show() {
|
@@ -516,6 +513,9 @@ class API {
|
|
516
513
|
|
517
514
|
reset() {
|
518
515
|
this._objects.items = []
|
516
|
+
this._objects.notAvailable = []
|
517
|
+
this._objects.notAvailableModification = []
|
518
|
+
this._objects.item_id_counter = 0
|
519
519
|
}
|
520
520
|
|
521
521
|
get(item_id) {
|