longshotlabs / meteor-template-extension

A Meteor package: Replace already defined templates, inherit helpers and events from other templates
https://atmospherejs.com/aldeed/template-extension
MIT License
220 stars 20 forks source link

Update to support next Meteor release #20

Closed aldeed closed 8 years ago

aldeed commented 9 years ago

I don't know how soon it's coming out, but @mitar pointed out that the next Meteor release has onCreated, onRendered, and onDestroyed built in, so we should update this package to add those only if they're not already present. This means that everything that uses the internal hooks object will need to look at the core hooks list instead. Hopefully it's exported.

EDIT: To clarify, I think we should keep the existing code, too, to support older Meteor versions for now.

aldeed commented 8 years ago

Done in 4.0