Created
September 2, 2011 00:15
-
-
Save balupton/1187647 to your computer and use it in GitHub Desktop.
Sublime Snippet which creates a set of options with the sparkle and argument data.
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[options = \$.extend(${1:true,}{$2},\$this.data('sparkle-${3:options}')||{},options||{}); | |
]]></content> | |
<tabTrigger>options=</tabTrigger> | |
<scope>source.js</scope> | |
<description>options = $.extend(true,{},$this.data('sparkle-options')||{},options||{});</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To learn how to use snippets, refer to: http://sublimetext.info/docs/en/extensibility/snippets.html