canjs / can-stache

Live binding handlebars templates
https://canjs.com/doc/can-stache.html
MIT License
10 stars 13 forks source link

Warn when closing magic tag is missed #692

Closed cherifGsoul closed 5 years ago

cherifGsoul commented 5 years ago

This replaces #678 PR

This adds warning when a closing magic tag is missed for example the following triggers a warning: {{# let foo="bar"}} {{foo}}

The changes:

The warning is added to done function

Fixes #675