HTML/CSS/Ember.js/Bootstrap snippets
This commit is contained in:
parent
062099000d
commit
4aee1662fa
5 changed files with 120 additions and 0 deletions
20
vim/snippets/ember/javascript.snippets
Normal file
20
vim/snippets/ember/javascript.snippets
Normal file
|
@ -0,0 +1,20 @@
|
|||
snippet app
|
||||
${1:App} = Ember.Application.create();${0}
|
||||
|
||||
snippet rmap
|
||||
${1:App}.Router.map(function() {
|
||||
${0}
|
||||
});
|
||||
|
||||
snippet rroute
|
||||
${1:App}.${2:Foo}Route = Ember.Route.extend({
|
||||
${0}
|
||||
});
|
||||
|
||||
snippet rrmodel
|
||||
model: function() {
|
||||
return ${1:null};
|
||||
}${0}
|
||||
|
||||
snippet rres
|
||||
this.resource(${1:'foo'})${0}
|
Loading…
Add table
Add a link
Reference in a new issue