File tree Expand file tree Collapse file tree 5 files changed +19
-19
lines changed
addon/templates/components
dummy/app/templates/docs/components Expand file tree Collapse file tree 5 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 13
13
14
14
{{!--
15
15
Pass footer properties to support
16
- {{es-footer tagline="My custom tagline" contributorLinks=myLinks}}
16
+ <EsFooter @ tagline ="My custom tagline" @ contributorLinks ={{ myLinks}}/>
17
17
--}}
18
18
{{ es-footer/es-info infoLinks =infoLinks }}
19
19
{{ es-footer/es-statement tagline =tagline socialLinks =socialLinks }}
Original file line number Diff line number Diff line change 56
56
"ember-cli-deploy-git" : " ^1.3.3" ,
57
57
"ember-cli-deploy-git-ci" : " ^1.0.1" ,
58
58
"ember-cli-eslint" : " ^4.2.3" ,
59
- "ember-cli-htmlbars-inline-precompile" : " ^1.0.3 " ,
59
+ "ember-cli-htmlbars-inline-precompile" : " ^1.0.5 " ,
60
60
"ember-cli-inject-live-reload" : " ^2.0.1" ,
61
61
"ember-cli-mirage" : " ^0.4.9" ,
62
62
"ember-cli-moment-shim" : " ^3.5.0" ,
Original file line number Diff line number Diff line change 2
2
3
3
{{#docs-demo as |demo|}}
4
4
{{#demo.example name='demo1'}}
5
- {{es-footer }}
5
+ < EsFooter />
6
6
{{/demo.example}}
7
7
{{demo.snippet 'demo1'}}
8
8
{{/docs-demo}}
9
9
10
10
{{#docs-demo as |demo|}}
11
11
{{#demo.example name='demo2'}}
12
- {{es-footer tagline="A framework for ambitious web developers"}}
12
+ <EsFooter @ tagline ="A framework for ambitious web developers"/>
13
13
{{/demo.example}}
14
14
{{demo.snippet 'demo2'}}
15
15
{{/docs-demo}}
18
18
{{#demo.example name='demo3'}}
19
19
{{!-- Check out the component blocks and their respective
20
20
configuration --}}
21
- {{#es-footer as |f|}}
22
- {{ f.info infoLinks=infoLinks}}
23
- {{ f.statement socialLinks=socialLinks}}
24
- {{ f.contributions contributorLinks=contributorLinks}}
25
- {{/es-footer}}
21
+ <EsFooter as |f|>
22
+ < f.info @ infoLinks ={{ infoLinks}} />
23
+ < f.statement @ socialLinks ={{ socialLinks}} />
24
+ < f.contributions @ contributorLinks ={{ contributorLinks}} />
25
+ </ EsFooter >
26
26
{{/demo.example}}
27
27
{{demo.snippet 'demo3'}}
28
28
{{/docs-demo}}
29
29
30
30
{{#docs-demo as |demo|}}
31
31
{{#demo.example name='demo4'}}
32
32
{{!-- You can also add your own content on each component block --}}
33
- {{#es-footer as |f|}}
34
- {{# f.info}}
33
+ <EsFooter as |f|>
34
+ < f.info>
35
35
<br />
36
36
<a >Team</a >
37
37
<br />
38
38
<a >Contact</a >
39
- {{ /f.info}}
40
- {{# f.statement}}
39
+ < /f.info>
40
+ < f.statement>
41
41
Highly Productive Out of the Box
42
- {{ /f.statement}}
43
- {{# f.contributions}}
42
+ < /f.statement>
43
+ < f.contributions>
44
44
<div class =" contributor " >
45
45
<p >Hosted by:</p >
46
46
<a href =" https://www.heroku.com/emberjs " >
47
47
{{svg-jar "heroku-logo" class="contributor-logo"}}
48
48
</a >
49
49
</div >
50
- {{ /f.contributions}}
51
- {{/es-footer}}
50
+ < /f.contributions>
51
+ </ EsFooter >
52
52
{{/demo.example}}
53
53
{{demo.snippet 'demo4'}}
54
54
{{/docs-demo}}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ module('Integration | Component | es footer', function(hooks) {
7
7
setupRenderingTest ( hooks ) ;
8
8
9
9
test ( 'it renders' , async function ( assert ) {
10
- await render ( hbs `{{es-footer}} ` ) ;
10
+ await render ( hbs `<EsFooter/> ` ) ;
11
11
12
12
const footerSocialLinks = document . querySelectorAll ( '.footer-social a' ) ;
13
13
const footerContribtuionsLinks = document . querySelectorAll ( '.footer-contributions .contributor' ) ;
Original file line number Diff line number Diff line change @@ -4778,7 +4778,7 @@ ember-cli-htmlbars-inline-precompile@^1.0.0:
4778
4778
heimdalljs-logger "^0.1.9"
4779
4779
silent-error "^1.1.0"
4780
4780
4781
- ember-cli-htmlbars-inline-precompile@^1.0.3:
4781
+ ember-cli-htmlbars-inline-precompile@^1.0.3, ember-cli-htmlbars-inline-precompile@^1.0.5 :
4782
4782
version "1.0.5"
4783
4783
resolved "https://registry.yarnpkg.com/ember-cli-htmlbars-inline-precompile/-/ember-cli-htmlbars-inline-precompile-1.0.5.tgz#312e050c9e3dd301c55fb399fd706296cd0b1d6a"
4784
4784
integrity sha512-/CNEqPxroIcbY6qejrt704ZaghHLCntZKYLizFfJ2esirXoJx6fuYKBY1YyJ8GOgjfbHHKjBZuK4vFFJpkGqkQ==
You can’t perform that action at this time.
0 commit comments