summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranonymous2022-12-09 13:38:41 -0500
committeranonymous2022-12-09 13:38:41 -0500
commitb4a69044a200e1d06f86f21489a3470a90d835cf (patch)
tree3ffc74ce47c9af39e3dc3ddae8f2faefd7f77a41
parent0d6e487fb921d8a5e8d8009225ac5511f79a65a2 (diff)
No empty context
-rw-r--r--graffiti.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/graffiti.js b/graffiti.js
index 0314b85..fe7c2d8 100644
--- a/graffiti.js
+++ b/graffiti.js
@@ -191,11 +191,6 @@ export default class {
throw new Error("_to must be an array")
}
- // Add an open context if none is declared
- if (!object._inContextIf) {
- object._inContextIf = [{}]
- }
-
// Pre-generate the object's ID if it does not already exist
if (!object._id) object._id = crypto.randomUUID()
}