The time Meteor Blaze data context screw me up

Consider this two templates,

<template name='a'>{{> b }}</template><template name='b'><b class="{{if not data }}hide{{/if}}">{{ data context of b }}</b></template>

Here is another template,

<template name='a'>{{> b }}</template><template name='b'>{{if}}<b>{{?? what is the data context here ??}}</b> {{/if}}</template>

You would guess the data context will be the data context of template “b”.


The data context is “a”


Written by

Get right things done. Craft product with code. each(day) do plan |> execute |> evaluate |> each(day+1) end

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store