File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,13 @@ var patternlab_engine = function (config) {
388
388
389
389
// stringify this data for individual pattern rendering and use on the styleguide
390
390
// see if patternData really needs these other duped values
391
+
392
+ // construct our extraOutput dump
393
+ var extraOutput = Object . assign ( { } , pattern . extraOutput , pattern . allMarkdown ) ;
394
+ delete ( extraOutput . title ) ;
395
+ delete ( extraOutput . state ) ;
396
+ delete ( extraOutput . markdown ) ;
397
+
391
398
pattern . patternData = JSON . stringify ( {
392
399
cssEnabled : false ,
393
400
patternLineageExists : pattern . patternLineageExists ,
@@ -410,7 +417,7 @@ var patternlab_engine = function (config) {
410
417
patternPartial : pattern . patternPartial ,
411
418
patternState : pattern . patternState ,
412
419
patternEngineName : pattern . engine . engineName ,
413
- extraOutput : { }
420
+ extraOutput : extraOutput
414
421
} ) ;
415
422
416
423
//set the pattern-specific footer by compiling the general-footer with data, and then adding it to the meta footer
You can’t perform that action at this time.
0 commit comments