Skip to content

This release adds warnings for things that will be removed in can-stache 5.0.

In the following example two new warnings will be displayed.

const data = new DefineMap({
	name: 'Justin',
	age: 33,
	children: [{
		name: 'Ramiya',
		age: 2,
		excitement() {
			return '!!';
	}, {
		name: 'TBD',
		excitement() {
			return '!!';
	{{#each children}}
		<li>{{name}} is {{age}}{{excitement}}</li>

A warning will be displayed because {{age}} is being read from the parent scope implicitly since the second child does not have an age:


A warning will also be displayed because excitement is a function, but is being called automatically by stache:



Assets 2
You can’t perform that action at this time.