aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-02 11:22:22 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-02 11:22:22 -0500
commit3c28c7dd7cdbf4af91b0b4044f03e0877569e3b8 (patch)
treef0b7270215bc3dd8408ea595c56280f7e19621ff /ext/bg/js
parentfff1e67a5e52cb104c77069903f975e114d7a835 (diff)
Fix init
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/json-schema.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/json-schema.js b/ext/bg/js/json-schema.js
index ad6372df..3cf24c35 100644
--- a/ext/bg/js/json-schema.js
+++ b/ext/bg/js/json-schema.js
@@ -586,8 +586,8 @@ class JsonSchemaTraversalInfo {
constructor(value, schema) {
this.valuePath = [];
this.schemaPath = [];
- this.valuePush([null, value]);
- this.schemaPush([null, schema]);
+ this.valuePush(null, value);
+ this.schemaPush(null, schema);
}
valuePush(path, value) {