mirror of
https://github.com/awatson1978/meteor-api.git
synced 2026-05-15 14:15:54 -06:00
Merge pull request #1 from picsoung/picsoung-patch-1
Update meteor-api-snippets-javascript.cson
This commit is contained in:
commit
265ff6ae20
1 changed files with 3 additions and 3 deletions
|
|
@ -438,7 +438,7 @@
|
|||
|
||||
'Template Rendered':
|
||||
'prefix': 'rendered'
|
||||
'body': 'Template.${1:name}.rendered = function(){\n\t${2}\n}'
|
||||
'body': 'Template.${1:name}.onRendered = function(){\n\t${2}\n}'
|
||||
'Template Events':
|
||||
'prefix': 'events'
|
||||
'body': '
|
||||
|
|
@ -451,7 +451,7 @@
|
|||
'Template Created':
|
||||
'prefix': 'created'
|
||||
'body': '
|
||||
Template.${1:name}.created = function(){
|
||||
Template.${1:name}.onCreated = function(){
|
||||
\n\t${2:}
|
||||
\n};
|
||||
'
|
||||
|
|
@ -459,7 +459,7 @@
|
|||
'Template Destroyed':
|
||||
'prefix': 'destroyed'
|
||||
'body': '
|
||||
Template.${1:name}.destroyed = function(){
|
||||
Template.${1:name}.onDestroyed = function(){
|
||||
\n\t${2:}
|
||||
\n};
|
||||
'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue