bergie / VIE

Semantic Interaction Framework for JavaScript
http://viejs.org/
MIT License
303 stars 56 forks source link

Support external templates in CollectionView #131

Closed bergie closed 12 years ago

bergie commented 12 years ago

We need a mechanism where developers can feed external templates (say, mustache or Underscore templates) to CollectionViews, to be used as the template for child elements instead of the template(s) we read from DOM.

This should be done so that it works with multiple child types, as defined in #130

bergie commented 12 years ago

Fixed by 0b58792b7ed8d742751e6852c2799a777537520c. See an example in https://github.com/bergie/create/blob/master/examples/example-withtype.html#L88