Fix typo in comment.

master
Artem Sapegin 2014-04-28 18:19:29 +04:00
parent c647cd35ca
commit 9a63f3b01c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
});
}