Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Mustache templates not render properly. Should I do something when I update from 2.0.7 to 2.1.0?

$
0
0
I am using views likes below:

$('#my-div').html(can.view('views_item_mustache', this.data));

And I use https://github.com/daffl/can-compile as well.

It compile my mustches to one javascript file likes below:

can.view.preload('views_item_mustache', can.Mustache(function(scope,options) {var ___v1ew = [];___v1ew.push('TEMPLATE CONTENT')...}));


Viewing all articles
Browse latest Browse all 3491

Trending Articles