Skip to content

Instantly share code, notes, and snippets.

@bittersweetryan
Created July 25, 2012 19:27
Show Gist options
  • Save bittersweetryan/3178049 to your computer and use it in GitHub Desktop.
Save bittersweetryan/3178049 to your computer and use it in GitHub Desktop.
create AMD module with jquery and backbone
<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