Skip to content

Commit

Permalink
Issue bem#422 - blocks-touch/b-page/b-page.bemhtml - иконки
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorobtsov Pavel committed Nov 11, 2013
1 parent b0e09a3 commit 1bc9e3b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
32 changes: 32 additions & 0 deletions blocks-touch/b-page/b-page.bemhtml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,30 @@ block b-page {
href: this.ctx.src16
}
},
this.ctx.src152 && {
elem: 'link',
attrs: {
rel: 'apple-touch-icon-precomposed',
sizes: '152x152',
href: this.ctx.src152
}
},
this.ctx.src144 && {
elem: 'link',
attrs: {
rel: 'apple-touch-icon-precomposed',
sizes: '144x144',
href: this.ctx.src144
}
},
this.ctx.src120 && {
elem: 'link',
attrs: {
rel: 'apple-touch-icon-precomposed',
sizes: '120x120',
href: this.ctx.src120
}
},
this.ctx.src114 && {
elem: 'link',
attrs: {
Expand All @@ -102,6 +126,14 @@ block b-page {
href: this.ctx.src114
}
},
this.ctx.src76 && {
elem: 'link',
attrs: {
rel: 'apple-touch-icon-precomposed',
sizes: '76x76',
href: this.ctx.src76
}
},
this.ctx.src72 && {
elem: 'link',
attrs: {
Expand Down
6 changes: 5 additions & 1 deletion blocks-touch/b-page/examples/10-simple_bem.bemjson.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
src16: 'favicon.ico',
src57: 'apple-touch-icon-precomposed.png',
src72: 'apple-touch-icon-72x72-precomposed.png',
src114: 'apple-touch-icon-114x114-precomposed.png'
src76: 'apple-touch-icon-76x76-precomposed.png',
src114: 'apple-touch-icon-114x114-precomposed.png',
src120: 'apple-touch-icon-120x120-precomposed.png',
src144: 'apple-touch-icon-144x144-precomposed.png',
src152: 'apple-touch-icon-152x152-precomposed.png'
}
],
content: [
Expand Down

0 comments on commit 1bc9e3b

Please sign in to comment.