summaryrefslogtreecommitdiff
path: root/src/array.js
diff options
context:
space:
mode:
authortheia2023-02-07 12:52:04 -0500
committertheia2023-02-07 12:52:04 -0500
commit5b951766757d89a4ab91457e8dbeabc50164ccdc (patch)
treec4478b85969848a9b3ca840ce411daaaac67ce6b /src/array.js
parent4d3c179fd1ab64eb09564cb778a16b4d8c430dd9 (diff)
update and remove implicitly via proxy
Diffstat (limited to 'src/array.js')
-rw-r--r--src/array.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/array.js b/src/array.js
index c53113e..ae30012 100644
--- a/src/array.js
+++ b/src/array.js
@@ -17,9 +17,8 @@ export default function(graffiti) {
return [...new Set(this.map(o=> o._by))]
}
- async removeMine() {
- await Promise.all(
- this.mine.map(async o=> await o._remove()))
+ removeMine() {
+ this.mine.map(o=> delete o._key)
}
#getProperty(obj, propertyPath) {