Skip to content

v3.0.0rc2

@bminer bminer tagged this 07 Mar 00:38
`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.
Assets 2
Loading