Skip to content

Commit eb4dde5

Browse files
Merge pull request #528 from wp-shortcake/527-fix-undefined-properity
Ensure `utils` is defined on `sui` global object
2 parents db99e82 + ec6193f commit eb4dde5

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

js-tests/build/specs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,6 +1168,7 @@ window.Shortcode_UI = window.Shortcode_UI || {
11681168
shortcodes: new Shortcodes(),
11691169
views: {},
11701170
controllers: {},
1171+
utils: {},
11711172
};
11721173

11731174
module.exports = window.Shortcode_UI;

js/build/shortcode-ui.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ window.Shortcode_UI = window.Shortcode_UI || {
801801
shortcodes: new Shortcodes(),
802802
views: {},
803803
controllers: {},
804+
utils: {},
804805
};
805806

806807
module.exports = window.Shortcode_UI;

js/src/utils/sui.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ window.Shortcode_UI = window.Shortcode_UI || {
44
shortcodes: new Shortcodes(),
55
views: {},
66
controllers: {},
7+
utils: {},
78
};
89

910
module.exports = window.Shortcode_UI;

0 commit comments

Comments
 (0)