@azrico/webobject 1.4.147 → 1.4.148
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.
|
@@ -167,7 +167,8 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
|
|
|
167
167
|
return _context.abrupt("return", false);
|
|
168
168
|
case 7:
|
|
169
169
|
isValueChanged = false;
|
|
170
|
-
|
|
170
|
+
console.log("setValue", key, value, shouldNotify);
|
|
171
|
+
_context.prev = 9;
|
|
171
172
|
oldval = this.getValue(key);
|
|
172
173
|
if (!(0, _object.object_equals)(oldval, value, {
|
|
173
174
|
strictArrayCheck: true,
|
|
@@ -176,9 +177,8 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
|
|
|
176
177
|
_classPrivateMethodGet(this, _setProperty, _setProperty2).call(this, key, value);
|
|
177
178
|
isValueChanged = true;
|
|
178
179
|
} else isValueChanged = false;
|
|
179
|
-
case
|
|
180
|
-
_context.prev =
|
|
181
|
-
console.log("set", key, value, shouldNotify);
|
|
180
|
+
case 12:
|
|
181
|
+
_context.prev = 12;
|
|
182
182
|
if (!(shouldNotify === true || shouldNotify === "auto" && isValueChanged)) {
|
|
183
183
|
_context.next = 16;
|
|
184
184
|
break;
|
|
@@ -186,14 +186,14 @@ var SimpleObject = exports.SimpleObject = /*#__PURE__*/function (_MapableObject)
|
|
|
186
186
|
_context.next = 16;
|
|
187
187
|
return this.notifyChanged("", key, value);
|
|
188
188
|
case 16:
|
|
189
|
-
return _context.finish(
|
|
189
|
+
return _context.finish(12);
|
|
190
190
|
case 17:
|
|
191
191
|
return _context.abrupt("return", isValueChanged);
|
|
192
192
|
case 18:
|
|
193
193
|
case "end":
|
|
194
194
|
return _context.stop();
|
|
195
195
|
}
|
|
196
|
-
}, _callee, this, [[
|
|
196
|
+
}, _callee, this, [[9,, 12, 17]]);
|
|
197
197
|
}));
|
|
198
198
|
function setValue(_x, _x2) {
|
|
199
199
|
return _setValue.apply(this, arguments);
|