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

Return newly created template from copyAs (Fix #9) #18

Closed jgladch closed 9 years ago

jgladch commented 9 years ago

If copyAs is invoked with a string, it returns the newly created template.

If copyAs is invoked with an array, it returns an array of the newly created templates.

jgladch commented 9 years ago

I'll rebase from master after #17 is merged. Should clean up the diff.

jgladch commented 9 years ago

Fixes #9