Open justinbmeyer opened 2 years ago
x = new can.Map({ "foo.bar": "baz" }); y = can.stache(`{{#each this}}{{%key}} {{this}}<br>{{/each}}`) $('<div>').append(y(x)).html(); // '\x3C!--Observation<{{#each this}}>-->foo.bar <br>\x3C!--/Observation<{{#each this}}>-->'
The value of "baz" won't be printed
The value of "baz" won't be printed