Skip to content

Commit 9732350

Browse files
committed
refactor: renamed and removed mustache files
in favour of their handlebars equivalents
1 parent 9935c0b commit 9732350

File tree

85 files changed

+154
-204
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+154
-204
lines changed

packages/cli/test/fixtures/patternlab-config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141
"styleguide": "node_modules/@pattern-lab/uikit-workshop/dist/",
4242
"patternlabFiles": {
4343
"general-header":
44-
"node_modules/@pattern-lab/uikit-workshop/views/partials/general-header.mustache",
44+
"node_modules/@pattern-lab/uikit-workshop/views/partials/general-header.hbs",
4545
"general-footer":
46-
"node_modules/@pattern-lab/uikit-workshop/views/partials/general-footer.mustache",
46+
"node_modules/@pattern-lab/uikit-workshop/views/partials/general-footer.hbs",
4747
"patternSection":
48-
"node_modules/@pattern-lab/uikit-workshop/views/partials/patternSection.mustache",
48+
"node_modules/@pattern-lab/uikit-workshop/views/partials/patternSection.hbs",
4949
"patternSectionSubgroup":
50-
"node_modules/@pattern-lab/uikit-workshop/views/partials/patternSectionSubgroup.mustache",
50+
"node_modules/@pattern-lab/uikit-workshop/views/partials/patternSectionSubgroup.hbs",
5151
"viewall":
52-
"node_modules/@pattern-lab/uikit-workshop/views/viewall.mustache"
52+
"node_modules/@pattern-lab/uikit-workshop/viewall.hbs"
5353
},
5454
"js": "./test/fixtures/source/js",
5555
"images": "./test/fixtures/source/images",

packages/core/patternlab-config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141
"styleguide": "dist/",
4242
"patternlabFiles": {
4343
"general-header":
44-
"views/partials/general-header.mustache",
44+
"views/partials/general-header.hbs",
4545
"general-footer":
46-
"views/partials/general-footer.mustache",
46+
"views/partials/general-footer.hbs",
4747
"patternSection":
48-
"views/partials/patternSection.mustache",
48+
"views/partials/patternSection.hbs",
4949
"patternSectionSubgroup":
50-
"views/partials/patternSectionSubgroup.mustache",
50+
"views/partials/patternSectionSubgroup.hbs",
5151
"viewall":
52-
"views/viewall.mustache"
52+
"viewall.hbs"
5353
},
5454
"js": "./source/js",
5555
"images": "./source/images",

packages/core/test/addPattern_tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tap.test(
1414
//arrange
1515
const patternlab = util.fakePatternLab(patterns_dir);
1616

17-
var pattern = new Pattern('test/bar.mustache');
17+
var pattern = new Pattern('test/bar.hbs');
1818
pattern.extendedTemplate = 'barExtended';
1919
pattern.template = 'bar';
2020

@@ -35,7 +35,7 @@ tap.test(
3535
//arrange
3636
const patternlab = util.fakePatternLab(patterns_dir);
3737

38-
var pattern = new Pattern('test/bar.mustache');
38+
var pattern = new Pattern('test/bar.hbs');
3939
pattern.extendedTemplate = undefined;
4040
pattern.template = 'bar';
4141

packages/core/test/files/_meta/_head.mustache

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<div>These aren't the patterns you are looking for.</div>

0 commit comments

Comments
 (0)