File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ var pattern_assembler = function () {
29
29
//else look by verbose syntax
30
30
for ( var i = 0 ; i < patternlab . patterns . length ; i ++ ) {
31
31
switch ( partialName ) {
32
+ case patternlab . patterns [ i ] . relPath :
32
33
case patternlab . patterns [ i ] . subdir + '/' + patternlab . patterns [ i ] . fileName :
33
- case patternlab . patterns [ i ] . subdir + '/' + patternlab . patterns [ i ] . fileName + '.mustache' :
34
34
return patternlab . patterns [ i ] ;
35
35
}
36
36
}
Original file line number Diff line number Diff line change 6
6
//setup current pattern from what we would have during execution
7
7
function currentPatternClosure ( ) {
8
8
return {
9
+ "relPath" : "02-organisms/02-comments/01-sticky-comment.mustache" ,
9
10
"fileName" : "01-sticky-comment" ,
10
11
"subdir" : "02-organisms/02-comments" ,
11
12
"name" : "02-organisms-02-comments-01-sticky-comment" ,
28
29
return {
29
30
patterns : [
30
31
{
32
+ "relPath" : "01-molecules/06-components/02-single-comment.mustache" ,
31
33
"fileName" : "02-single-comment" ,
32
34
"subdir" : "01-molecules/06-components" ,
33
35
"name" : "01-molecules-06-components-02-single-comment" ,
You can’t perform that action at this time.
0 commit comments