@azrico/webobject 1.4.152 → 1.4.153
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.
|
@@ -69,12 +69,11 @@ var ObjectManager = exports.ObjectManager = /*#__PURE__*/function (_RawObject) {
|
|
|
69
69
|
case 3:
|
|
70
70
|
if (value === undefined && type != "meta") value = obj.getValue(key);
|
|
71
71
|
typestr = (type ? "$".concat(type, "$") : "") + String(key);
|
|
72
|
-
|
|
73
|
-
_context.next = 8;
|
|
72
|
+
_context.next = 7;
|
|
74
73
|
return this.event_run("on_change", typestr, value);
|
|
75
|
-
case
|
|
74
|
+
case 7:
|
|
76
75
|
return _context.abrupt("return", _context.sent);
|
|
77
|
-
case
|
|
76
|
+
case 8:
|
|
78
77
|
case "end":
|
|
79
78
|
return _context.stop();
|
|
80
79
|
}
|
|
@@ -616,17 +616,16 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
|
|
|
616
616
|
/* --------------------------- notify the manager --------------------------- */
|
|
617
617
|
manager_class = this.manager;
|
|
618
618
|
if (!(typeof (manager_class === null || manager_class === void 0 ? void 0 : manager_class.notifyChanged) === "function")) {
|
|
619
|
-
_context11.next =
|
|
619
|
+
_context11.next = 11;
|
|
620
620
|
break;
|
|
621
621
|
}
|
|
622
|
-
|
|
623
|
-
_context11.next = 11;
|
|
622
|
+
_context11.next = 10;
|
|
624
623
|
return manager_class.notifyChanged(type, key, value, subvalue);
|
|
625
|
-
case
|
|
624
|
+
case 10:
|
|
626
625
|
return _context11.abrupt("return", _context11.sent);
|
|
627
|
-
case
|
|
626
|
+
case 11:
|
|
628
627
|
return _context11.abrupt("return", false);
|
|
629
|
-
case
|
|
628
|
+
case 12:
|
|
630
629
|
case "end":
|
|
631
630
|
return _context11.stop();
|
|
632
631
|
}
|