Open nagyt234 opened 12 years ago
Do take note of the message on the homepage
"A templating plugin for jQuery. BETA. NO LONGER IN ACTIVE DEVELOPMENT OR MAINTENANCE. Issues remain open but are not being worked."
as well as in the README
if u can forget about cache
function replaceall(tpl, o, dD, Dd) {
var reg = new RegExp((dD || '%') + '([A-z0-9-_]*)' + (Dd || '%'), 'g'), str;
return tpl.replace(reg, function (str, $1) {return o[$1] || $1; });
}
hope it helps
${word} is a element show in the template, not the template variable. how can i make it possible.
It would be very nice if it was possible to change the symbols used as delimiters, since the { }-delimeters conflicts with the template system we're currently using.