summaryrefslogtreecommitdiff
path: root/src/array.js
diff options
context:
space:
mode:
authorAnthony Wang2023-02-09 19:10:01 -0500
committerGitHub2023-02-09 19:10:01 -0500
commitfb3c976380e704a1c129f141f0bdb7f5f4576611 (patch)
tree961ca925762b2953ad0b0d69374a0d5d2721915e /src/array.js
parent53b54eb076246ffeb6c5c4e8b52a643696195333 (diff)
parent7413cb9d937986fd11936730d6773f1a270eba48 (diff)
Merge branch 'graffiti-garden:main' into main
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) {