Skip to content

Commit edf2986

Browse files
authored
Merge pull request #19 from cybtachyon/hotfix/cybtachyon/20200321-startval-null
20200321: Resolves an issue with updated startval default expecting null
2 parents 2205517 + da58dd3 commit edf2986

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

js/patternkit.jsoneditor.es6.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ import {DrupalImageEditor} from "./DrupalImageEditor.es6";
140140
// Initialize the editor with a JSON schema.
141141
let config = {
142142
schema: data.schema,
143-
refs: {},
144-
startval: {}
143+
refs: {}
145144
};
146145
if (typeof data.starting === 'object' && !$.isEmptyObject(data.starting)) {
147146
config.startval = data.starting;

js/patternkit.jsoneditor.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
336336

337337
var config = {
338338
schema: data.schema,
339-
refs: {},
340-
startval: {}
339+
refs: {}
341340
};
342341

343342
if (_typeof(data.starting) === 'object' && !$.isEmptyObject(data.starting)) {

0 commit comments

Comments
 (0)