Skip to content

Commit 8c66f73

Browse files
committed
committing work in progress
1 parent cfa8f4b commit 8c66f73

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

core/lib/ui_builder.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ var ui_builder = function() {
154154
isPattern: false,
155155
engine: null,
156156
//todo this might be broken yet
157-
flatPatternPath: pattern.flatPatternPath + (isSubtypePattern ? '-' + pattern.patternSubGroup: ''),
157+
flatPatternPath: pattern.flatPatternPath,// + (isSubtypePattern ? '-' + pattern.patternSubGroup : ''),
158158
isDocPattern: true
159159
}
160160
);
@@ -523,14 +523,14 @@ var ui_builder = function() {
523523
//loop through the grouped styleguide patterns, building at each level
524524
_.forEach(styleguidePatterns.patternGroups, function (patternTypeObj, patternType) {
525525

526-
console.log(patternType);
526+
console.log(1, patternType);
527527

528528
_.forOwn(patternTypeObj, function(patternSubtypes, patternSubtype) {
529529

530-
console.log(patternSubtype);
530+
console.log(2, patternSubtype);
531531

532532
var patternPartial = patternType + '-' + patternSubtype;
533-
console.log(patternPartial);
533+
console.log(3, patternPartial);
534534

535535
//render the footer needed for the viewall template
536536
var footerHTML = buildFooterHTML(patternlab, patternPartial);
@@ -543,6 +543,8 @@ var ui_builder = function() {
543543
return pat.isDocPattern;
544544
});
545545

546+
console.log(4, 'about to write view all file to patterns/', p.flatPatternPath);
547+
546548
console.log('------');
547549
writeFile(paths.public.patterns + p.flatPatternPath + '/index.html', mainPageHeadHtml + viewAllHTML + footerHTML);
548550

0 commit comments

Comments
 (0)