Please sign in to comment.
Blade 3.0.0rc2 - Major bugfixes for Meteor support
`runtime.include` no longer handles liveUpdate stuff; this is now handled by `runtime-meteor.js` `runtime-meteor.js` exposes `info` Object when performing file includes via `blade._includeInfo`. The Blade smart package now generates Template functions that read `blade._includeInfo` and pass it into the template. Then, as normal, the Template function will return reactive HTML and modify `info` as an intended side-effect. `runtime-meteor.js` has been modified to determine whether or not the included template contains any block declarations, and if not, reactive HTML is injected into the template's HTML buffer. If block definitions were used, then the template's HTML buffer is left untouched, as it already contained non-reactive HTML. Fixes #139.
- Loading branch information...
Showing with 30 additions and 18 deletions.