Skip to content

Commit 89506a8

Browse files
committed
specified instance_file path for test, updated test output
1 parent cbc9b25 commit 89506a8

File tree

8 files changed

+11
-76
lines changed

8 files changed

+11
-76
lines changed

test/pref.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,12 @@ templater:
6161
# template language happens to be Feplet or Mustache, set this value to true.
6262
retain_mustache: false
6363

64+
# The instance_file declares the class which defines the Fepper instance for
65+
# this project. If you wish to customize a subclass that inherits from the
66+
# default class, put the path to that file here. Make sure the path is relative
67+
# to this directory (the current working directory). This setting is safe to
68+
# delete. Fepper will instantiate the default class if it is missing.
69+
instance_file: ../node_modules/fepper/core/fepper.js
70+
6471
tpl_compile_dir: docroot/templates
6572
tpl_compile_ext: .hbs

test/public/patterns/03-templates-tpl-compile-mustache/03-templates-tpl-compile-mustache.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
2-
<link rel="stylesheet" href="../../node_modules/fepper-ui/styles/patternlab-pattern.css" media="all">
3-
<script src="../../node_modules/mousetrap/mousetrap.min.js"></script>
4-
<script src="../../annotations/annotations.js"></script>
5-
<!-- End Pattern Lab -->
61
<h1>{{title}}</h1>
72
{{# foo }}
83
{{#if bar}}
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
2-
<link rel="stylesheet" href="../../node_modules/fepper-ui/styles/patternlab-pattern.css" media="all">
3-
<script src="../../node_modules/mousetrap/mousetrap.min.js"></script>
4-
<script src="../../annotations/annotations.js"></script>
5-
<!-- End Pattern Lab -->
61
#if bar
7-
<p>backend_content</p>
2+
<p>backend_content</p>
83
/if
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#if bar
2-
<p>backend_content</p>
2+
<p>backend_content</p>
33
/if

test/public/patterns/03-templates-tpl-compile-w-local-yml/03-templates-tpl-compile-w-local-yml.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
2-
<link rel="stylesheet" href="../../node_modules/fepper-ui/styles/patternlab-pattern.css" media="all">
3-
<script src="../../node_modules/mousetrap/mousetrap.min.js"></script>
4-
<script src="../../annotations/annotations.js"></script>
5-
<!-- End Pattern Lab -->
61
<h1>{{title}}</h1>
72
{{#each foo}}
83
{{#if bar}}

test/public/patterns/03-templates-tpl-compile/03-templates-tpl-compile.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
2-
<link rel="stylesheet" href="../../node_modules/fepper-ui/styles/patternlab-pattern.css" media="all">
3-
<script src="../../node_modules/mousetrap/mousetrap.min.js"></script>
4-
<script src="../../annotations/annotations.js"></script>
5-
<!-- End Pattern Lab -->
61
<h1>{{title}}</h1>
72
{{#each foo}}
83
{{#if bar}}

test/public/patterns/03-templates/index.html

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
2-
<link rel="stylesheet" href="../../node_modules/fepper-ui/styles/patternlab-pattern.css" media="all">
3-
<script src="../../node_modules/mousetrap/mousetrap.min.js"></script>
4-
<script src="../../annotations/annotations.js"></script>
5-
<!-- End Pattern Lab -->
61
<!-- View All -->
72
<link rel="stylesheet" href="../../_styles/pattern-scaffolding.css" media="all">
83
<div class="sg-main" role="main">
@@ -106,7 +101,7 @@ <h4 class="sg-pattern-title">
106101
</div>
107102
<div class="sg-pattern-example cf">
108103
#if bar
109-
<p>backend_content</p>
104+
<p>backend_content</p>
110105
/if
111106

112107
</div>
@@ -202,24 +197,3 @@ <h1>{{title}}</h1>
202197
</div> <!--end #sg-patterns-->
203198

204199
</div><!--end .sg-main-->
205-
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
206-
<script type="text/json" id="sg-pattern-data-footer" class="sg-pattern-data">
207-
{"patternPartial":"viewall-templates"}
208-
</script>
209-
210-
<script>
211-
// Handle injection of items from Node.
212-
213-
214-
window.patternPartial = '';
215-
window.patternState = '';
216-
window.portReloader = '35729';
217-
window.portServer = '3000';
218-
</script>
219-
220-
<script src="../../node_modules/fepper-ui/scripts/ui-functions.js"></script>
221-
<script src="../../node_modules/fepper-ui/scripts/annotations-pattern.js"></script>
222-
<script src="../../node_modules/fepper-ui/scripts/code-pattern.js"></script>
223-
<script src="../../node_modules/fepper-ui/scripts/pattern-configurer.js"></script>
224-
<script src="../../node_modules/fepper-ui/scripts/patternlab-pattern.js"></script>
225-
<!-- End Pattern Lab -->

test/public/patterns/viewall/viewall.html

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
2-
<link rel="stylesheet" href="../../node_modules/fepper-ui/styles/patternlab-pattern.css" media="all">
3-
<script src="../../node_modules/mousetrap/mousetrap.min.js"></script>
4-
<script src="../../annotations/annotations.js"></script>
5-
<!-- End Pattern Lab -->
61
<!-- View All -->
72
<link rel="stylesheet" href="../../_styles/pattern-scaffolding.css" media="all">
83
<div class="sg-main" role="main">
@@ -106,7 +101,7 @@ <h4 class="sg-pattern-title">
106101
</div>
107102
<div class="sg-pattern-example cf">
108103
#if bar
109-
<p>backend_content</p>
104+
<p>backend_content</p>
110105
/if
111106

112107
</div>
@@ -202,24 +197,3 @@ <h1>{{title}}</h1>
202197
</div> <!--end #sg-patterns-->
203198

204199
</div><!--end .sg-main-->
205-
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
206-
<script type="text/json" id="sg-pattern-data-footer" class="sg-pattern-data">
207-
{"patternPartial":"viewall"}
208-
</script>
209-
210-
<script>
211-
// Handle injection of items from Node.
212-
213-
214-
window.patternPartial = '';
215-
window.patternState = '';
216-
window.portReloader = '35729';
217-
window.portServer = '3000';
218-
</script>
219-
220-
<script src="../../node_modules/fepper-ui/scripts/ui-functions.js"></script>
221-
<script src="../../node_modules/fepper-ui/scripts/annotations-pattern.js"></script>
222-
<script src="../../node_modules/fepper-ui/scripts/code-pattern.js"></script>
223-
<script src="../../node_modules/fepper-ui/scripts/pattern-configurer.js"></script>
224-
<script src="../../node_modules/fepper-ui/scripts/patternlab-pattern.js"></script>
225-
<!-- End Pattern Lab -->

0 commit comments

Comments
 (0)