Created
January 22, 2014 09:36
-
-
Save spoike/8555970 to your computer and use it in GitHub Desktop.
Sublime Text snippet for creating an RequireJS/AMD define block in javascript files. Create with Tools > New Snippet... and save it as `define_amd.sublime-snippet`.
This file contains hidden or 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[define([${1}], function(${2}) { | |
| ${0} | |
| });]]></content> | |
| <tabTrigger>def</tabTrigger> | |
| <scope>source.js</scope> | |
| <description>Adds an RequireJS/AMD define block</description> | |
| </snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment