canvas-editor-engine 2.3.35 → 2.3.37
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/dist/index.mjs +10 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -2595,6 +2595,16 @@ var DrawAccumulatorService = function() {
|
|
2595
2595
|
console.error("Proxy set error:", error);
|
2596
2596
|
return false;
|
2597
2597
|
}
|
2598
|
+
},
|
2599
|
+
deleteProperty: function(target, prop) {
|
2600
|
+
if (prop in target) {
|
2601
|
+
delete target[prop];
|
2602
|
+
target.length--;
|
2603
|
+
console.log("from:", target);
|
2604
|
+
console.log("property removed: ".concat(prop));
|
2605
|
+
return true;
|
2606
|
+
}
|
2607
|
+
return false;
|
2598
2608
|
}
|
2599
2609
|
});
|
2600
2610
|
}
|