Created
July 25, 2012 19:27
-
-
Save bittersweetryan/3178049 to your computer and use it in GitHub Desktop.
create AMD module with jquery and backbone
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([ | |
'jQuery', | |
'Underscore', | |
'Backbone'${2:,} | |
${1:'' | |
}], function(\$, _, Backbone${4:, }${3: })\{ | |
$0 | |
\}); | |
]]></content> | |
<tabTrigger>def</tabTrigger> | |
<scope>source.js</scope> | |
<description>AMD Method</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment