awatson1978 / meteor-api

Meteor API with tab completion and syntax highlighting.
MIT License
80 stars 17 forks source link

created vs onCreated #83

Open skywalkerlw opened 8 years ago

skywalkerlw commented 8 years ago

In snippets: `Template.name.onCreated = function(){

};`

but the correct one should be (you have misused with created):

Template.name.onCreated(function() { });