Skip to content

Commit

Permalink
icon: Write tests on templates
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaChervan authored and gela committed Aug 5, 2014
1 parent 3c65b70 commit 42333f1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions common.blocks/icon/icon.tmpl-specs/10-default.bemjson.js
@@ -0,0 +1 @@
({ block : 'icon' });
1 change: 1 addition & 0 deletions common.blocks/icon/icon.tmpl-specs/10-default.html
@@ -0,0 +1 @@
<i class="icon"></i>
4 changes: 4 additions & 0 deletions common.blocks/icon/icon.tmpl-specs/20-default_url.bemjson.js
@@ -0,0 +1,4 @@
({
block : 'icon',
url : 'arrow.svg'
});
1 change: 1 addition & 0 deletions common.blocks/icon/icon.tmpl-specs/20-default_url.html
@@ -0,0 +1 @@
<i class="icon" style="background-image:url(arrow.svg)"></i>

0 comments on commit 42333f1

Please sign in to comment.