tpmkms_4wp 7.12.5 → 7.12.6
Sign up to get free protection for your applications and to get access to all the features.
- package/common/fastfood.instance.json +524 -635
- package/common/fastfood.js +4 -4
- package/common/fastfood.test.json +2525 -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) {
|