You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$.Mustache.tags = customTags;
// Subsequent parse() and render() calls will use customTags
$.Mustache.options.warnOnMissingTemplates = true;
$.Mustache.parse(template); // optional, speeds up future uses <============ fails
$('body').mustache('mypage', view);
});
Uncaught TypeError: $.Mustache.parse is not a function
at Object. (test.html:103)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at A (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
Thank you.
The text was updated successfully, but these errors were encountered:
$.Mustache.load('./templates/template.htm')
.done(function () {
var customTags = [ '@@', '@@)' ];
$.Mustache.parse(this, customTags); // <=============== fails
console.log($.Mustache);
});
Uncaught TypeError: $.Mustache.parse is not a function
at Object. (test.html:103)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at A (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
Thank you.
The text was updated successfully, but these errors were encountered: