| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,7 +141,10 @@ module.exports = (deletePatternDir, patternlab, additionalData) => { | |||
| 141 | 141 | } | |
| 142 | 142 | //render all patterns last, so lineageR works | |
| 143 | 143 | const allPatternsPromise = patternsToBuild.map(pattern => | |
| 144 | - compose(pattern, patternlab) | ||
| 144 | + compose( | ||
| 145 | + pattern, | ||
| 146 | + patternlab | ||
| 147 | + ) | ||
| 145 | 148 | ); | |
| 146 | 149 | //copy non-pattern files like JavaScript | |
| 147 | 150 | const allJS = patternsToBuild.map(pattern => { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -76,7 +76,9 @@ const Pattern = function(relPath, data, patternlab) { | |||
| 76 | 76 | // (rendered!) html file for this pattern, to be shown in the iframe | |
| 77 | 77 | this.patternLink = this.patternSectionSubtype | |
| 78 | 78 | ? `$${this.name}/index.html` | |
| 79 | - : patternlab ? this.getPatternLink(patternlab, 'rendered') : null; | ||
| 79 | + : patternlab | ||
| 80 | + ? this.getPatternLink(patternlab, 'rendered') | ||
| 81 | + : null; | ||
| 80 | 82 | ||
| 81 | 83 | // The canonical "key" by which this pattern is known. This is the callable | |
| 82 | 84 | // name of the pattern. UPDATE: this.key is now known as this.patternPartial | |
| Back | FazBrowse Home | New Git URL |
0 commit comments