Created
October 14, 2014 09:21
-
-
Save laurentperroteau/58b6b90a776301f2825c to your computer and use it in GitHub Desktop.
Sublime Text Snippets
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
<snippet> | |
<content><![CDATA[console.log( ${1} );]]></content> | |
<tabTrigger>console</tabTrigger> | |
<scope>source.js</scope> | |
<description>Console.log</description> | |
</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
<snippet> | |
<content><![CDATA[@include ${1:mixin}(${2:param})$3]]></content> | |
<tabTrigger>include</tabTrigger> | |
<scope>source.sass</scope> | |
<description>Snippet include for SCSS</description> | |
</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
<snippet> | |
<content><![CDATA[.on('${1:click}', function(${3:e}) { | |
${4:e.preventDefault();} | |
${5:} | |
});]]></content> | |
<tabTrigger>.on</tabTrigger> | |
<description>.on()</description> | |
<scope>source.js</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
<snippet> | |
<content><![CDATA[for (var i = 0, len = ${1:obj}.length; i < len; i++) | |
{ | |
${1:obj}.eq(i).${2:on} | |
}]]></content> | |
<tabTrigger>for</tabTrigger> | |
<description>for(each)</description> | |
<scope>source.js</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment