aboutsummaryrefslogtreecommitdiff
path: root/vim/bundle/vim-snippets/UltiSnips/javascript-ember.snippets
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-06-30 16:11:56 +0200
committerKarel Kočí <cynerd@email.cz>2016-06-30 16:11:56 +0200
commit9931e0888b2419326ae10ebbfae532261c5c125f (patch)
tree7504be5daccbb7b7d1ea396754de47b11ed790e5 /vim/bundle/vim-snippets/UltiSnips/javascript-ember.snippets
parente573b3020c032400eed60b649a2cbf55266e6bb0 (diff)
downloadmyconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.gz
myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.tar.bz2
myconfigs-9931e0888b2419326ae10ebbfae532261c5c125f.zip
Fix submodules
Diffstat (limited to 'vim/bundle/vim-snippets/UltiSnips/javascript-ember.snippets')
m---------vim/bundle/vim-snippets0
-rw-r--r--vim/bundle/vim-snippets/UltiSnips/javascript-ember.snippets90
2 files changed, 0 insertions, 90 deletions
diff --git a/vim/bundle/vim-snippets b/vim/bundle/vim-snippets
new file mode 160000
+Subproject 15d7e5ec26ec93adee4051b6359be90a943aa38
diff --git a/vim/bundle/vim-snippets/UltiSnips/javascript-ember.snippets b/vim/bundle/vim-snippets/UltiSnips/javascript-ember.snippets
deleted file mode 100644
index 1b7e7b8..0000000
--- a/vim/bundle/vim-snippets/UltiSnips/javascript-ember.snippets
+++ /dev/null
@@ -1,90 +0,0 @@
-###################################################################
-# Ember snippets #
-###################################################################
-
-priority -50
-
-# Application
-snippet eapp "App.Name = Ember.Application.create({});"
-${1:App.Name} = Ember.Application.create({});
-endsnippet
-
-# Models
-snippet emod "App.ModelName = Ember.Model.extend({...});"
-${1:model_name} = Ember.Model.extend({
- ${0://Properties here...}
-});
-endsnippet
-
-# View
-snippet eview "App.ViewName = Ember.Model.extend({...});"
-${1:view_name} = Ember.View.extend({
- ${0://Properties here...}
-});
-endsnippet
-
-# Controller
-snippet econtroller "App.ControllerName = Ember.Model.extend({...});"
-${1:controller_name} = Ember.ObjectController.extend({
- ${0://Properties here...}
-});
-endsnippet
-
-# Route
-snippet eroute "App.RouteName = Ember.Route.extend({...});"
-${1:route_name} = Ember.Route.extend({
- ${0://Properties here...}
-});
-endsnippet
-
-snippet eview "App.ViewName = Ember.Model.create({...});"
-${1:view_name} = Ember.View.create({
- ${0://Properties here...}
-});
-endsnippet
-
-# Object
-snippet eobj "App.ObjectName = Ember.Object.extend({...});"
-${1:object_name} = Ember.Object.create({
- ${0://Properties here...}
-});
-endsnippet
-
-# Mixin
-snippet emix "App.MixinName = Ember.Model.extend({...});"
-${1:view_name} = Ember.Mixin.create({
- ${0://Properties here...}
-});
-endsnippet
-
-# Ember getter and setter
-snippet eget "this.get('property');"
-${1:this}.get('${2:property}');
-endsnippet
-
-snippet eset "this.set('property', value);"
-${1:this}.set('${2:property}', ${3:value});
-endsnippet
-
-# Computer properties
-snippet cpro "property_name: function() {...}.property(),"
-${1:property_name}: function() {
- ${0://body...}
-}.property('${3:argumenet}'),
-endsnippet
-
-snippet cpro ": function() {...}.property('property'),"
-${1:property_name}: function() {
- ${0://body...}
-}.property(),
-endsnippet
-
-
-# Observes
-snippet proo "property_name: function() {...}.property()"
-${1:property_name}: function() {
- ${0://body...}
-}.observes('${3:property}'),
-endsnippet
-
-# vim:ft=snippets: