We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef92a93 + ccaa25d commit f5bab2aCopy full SHA for f5bab2a
core/lib/ui_builder.js
@@ -536,7 +536,7 @@ var ui_builder = function () {
536
output += 'var viewAllPaths = ' + JSON.stringify(patternlab.viewAllPaths) + ';' + eol;
537
538
//plugins
539
- output += 'var plugins = ' + JSON.stringify(patternlab.plugins) + ';' + eol;
+ output += 'var plugins = ' + JSON.stringify(patternlab.plugins || []) + ';' + eol;
540
541
//smaller config elements
542
output += 'var defaultShowPatternInfo = ' + (patternlab.config.defaultShowPatternInfo ? patternlab.config.defaultShowPatternInfo : 'false') + ';' + eol;
0 commit comments