Created
December 30, 2012 20:14
-
-
Save twalker/4414849 to your computer and use it in GitHub Desktop.
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[ | |
/** | |
* ${1:name} model | |
*/ | |
define(function(require, exports, module){ | |
var Backbone = require('backbone'); | |
return Backbone.Model.extend({ | |
defaults: { | |
${0} | |
}, | |
initialize: function(options){ | |
}, | |
validate: function(attrs){ | |
} | |
}); | |
}); | |
]]></content> | |
<tabTrigger>bbm</tabTrigger> | |
<scope>source.js,source.js.embedded.html</scope> | |
<description>Backbone + RequireJS model definition</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment