Skip to content

Commit f5bab2a

Browse files
Merge pull request #558 from giuseppepaul/dev-issue-91-edition-node-gulp
Fixed the path to the plugins object. Issue 91 on the edition-node-gulp repo
2 parents ef92a93 + ccaa25d commit f5bab2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/lib/ui_builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ var ui_builder = function () {
536536
output += 'var viewAllPaths = ' + JSON.stringify(patternlab.viewAllPaths) + ';' + eol;
537537

538538
//plugins
539-
output += 'var plugins = ' + JSON.stringify(patternlab.plugins) + ';' + eol;
539+
output += 'var plugins = ' + JSON.stringify(patternlab.plugins || []) + ';' + eol;
540540

541541
//smaller config elements
542542
output += 'var defaultShowPatternInfo = ' + (patternlab.config.defaultShowPatternInfo ? patternlab.config.defaultShowPatternInfo : 'false') + ';' + eol;

0 commit comments

Comments
 (0)