-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from 1vank1n/tabs-spacer
Merge with `tabs-spacer` branch
- Loading branch information
Showing
16 changed files
with
112 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
attrs : { $1 : '$2' }, | ||
]]></content> | ||
<tabTrigger>a</tabTrigger> | ||
<description>BEM attrs mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> | ||
<tabTrigger>a</tabTrigger> | ||
<description>BEM attrs mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
{ | ||
block : '${1:name}', | ||
content : [ | ||
$0 | ||
] | ||
block : '${1:name}', | ||
content : [ | ||
$0 | ||
] | ||
} | ||
]]></content> | ||
<tabTrigger>b</tabTrigger> | ||
<description>BEM block</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>b</tabTrigger> | ||
<description>BEM block</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
{ | ||
block : '$1', | ||
content : (function () { | ||
return $0; | ||
})() | ||
block : '$1', | ||
content : (function () { | ||
return $0; | ||
})() | ||
} | ||
]]></content> | ||
<tabTrigger>bfc</tabTrigger> | ||
<description>BEM block with function content</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>bfc</tabTrigger> | ||
<description>BEM block with function content</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
{ | ||
block : '${1:name}', | ||
content : '$0' | ||
block : '${1:name}', | ||
content : '$0' | ||
} | ||
]]></content> | ||
<tabTrigger>btc</tabTrigger> | ||
<description>BEM block with text content</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>btc</tabTrigger> | ||
<description>BEM block with text content</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
{ | ||
block : '${1:name}', | ||
mods: { ${2:modName}: '${3:modVal}' } | ||
content : [ | ||
$0 | ||
] | ||
} | ||
]]></content> | ||
<tabTrigger>bwm</tabTrigger> | ||
<description>BEM block with modifier</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
{ | ||
block : '$1', | ||
tag : '$2', | ||
content : [ | ||
$0 | ||
] | ||
block : '$1', | ||
tag : '$2', | ||
content : [ | ||
$0 | ||
] | ||
} | ||
]]></content> | ||
<tabTrigger>bwt</tabTrigger> | ||
<description>BEM block with tag mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>bwt</tabTrigger> | ||
<description>BEM block with tag mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
content : [ | ||
$1 | ||
$1 | ||
] | ||
]]></content> | ||
<tabTrigger>c</tabTrigger> | ||
<description>BEM content mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>c</tabTrigger> | ||
<description>BEM content mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
{ | ||
elem : '$1', | ||
content : [ | ||
$0 | ||
] | ||
elem : '$1', | ||
content : [ | ||
$0 | ||
] | ||
} | ||
]]></content> | ||
<tabTrigger>e</tabTrigger> | ||
<description>BEM elem</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>e</tabTrigger> | ||
<description>BEM elem</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
{ | ||
elem : '$1', | ||
content : (function () { | ||
return $0; | ||
})() | ||
elem : '$1', | ||
content : (function () { | ||
return $0; | ||
})() | ||
} | ||
]]></content> | ||
<tabTrigger>etc</tabTrigger> | ||
<description>BEM elem with function content</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>etc</tabTrigger> | ||
<description>BEM elem with function content</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
{ | ||
elem : '$1', | ||
content : '$0' | ||
elem : '$1', | ||
content : '$0' | ||
} | ||
]]></content> | ||
<tabTrigger>etc</tabTrigger> | ||
<description>BEM elem with text content</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>etc</tabTrigger> | ||
<description>BEM elem with text content</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
{ | ||
elem : '$1', | ||
tag : '$2', | ||
content : [ | ||
$0 | ||
] | ||
elem : '$1', | ||
tag : '$2', | ||
content : [ | ||
$0 | ||
] | ||
} | ||
]]></content> | ||
<tabTrigger>ewt</tabTrigger> | ||
<description>BEM elem with tag mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>ewt</tabTrigger> | ||
<description>BEM elem with tag mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
js : { $1 : '$2' }, | ||
]]></content> | ||
<tabTrigger>js</tabTrigger> | ||
<description>BEM js mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>js</tabTrigger> | ||
<description>BEM js mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
mix : [ { $1 : '$2' } ], | ||
]]></content> | ||
<tabTrigger>mi</tabTrigger> | ||
<description>BEM mix mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>mi</tabTrigger> | ||
<description>BEM mix mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
mods : { $1 : '$2' }, | ||
]]></content> | ||
<tabTrigger>mo</tabTrigger> | ||
<description>BEM mods mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>mo</tabTrigger> | ||
<description>BEM mods mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
<content><![CDATA[ | ||
tag : '$1', | ||
]]></content> | ||
<tabTrigger>t</tabTrigger> | ||
<description>BEM tag mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
<tabTrigger>t</tabTrigger> | ||
<description>BEM tag mod</description> | ||
<scope>source.javascript, source.js, source.bemhtml, source.json</scope> | ||
</snippet> |