Fix typo in comment.
parent
c647cd35ca
commit
9a63f3b01c
|
@ -576,7 +576,7 @@
|
|||
|
||||
function template(tmpl, context, filter) {
|
||||
return tmpl.replace(/\{([^\}]+)\}/g, function(m, key) {
|
||||
// If key don't exists in the context we should keep template tag as is
|
||||
// If key doesn't exists in the context we should keep template tag as is
|
||||
return key in context ? (filter ? filter(context[key]) : context[key]) : m;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue