ractive v0.1.5 Release Notes
-
2013-03-18
- Split into Anglebars.compile and Anglebars.runtime, to shave a few kilobytes off in production
- ๐ Simplified API - removed
compiled
andcompiledPartials
init options (in favour of allowing either compiled or string templates), and removedobserve
andunobserve
instance methods - โ Added event methods -
on
,off
andfire
- 0๏ธโฃ
Anglebars.extend
for creating subclasses with default options (e.g. templates) and additional methods - ๐ Support passing in jQuery collections (and lookalikes), and CSS selectors (if browser supports
document.querySelector
) - Index references -
{{#section:i}}<!-- {{i}} evaluates to array index inside here -->{{/section}}