Permalink
Browse files

Fix a typo in `I18n#t`.

  • Loading branch information...
1 parent f838599 commit 1050b8fa3f8509b205842ad10dafff73e3c73646 Kit Goncharov committed Apr 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/i18n.js
View
@@ -46,7 +46,7 @@ I18n.prototype.t = function t(item, context) {
return "');" + code.replace(/\\'/g, "'").replace(/[\r\n\t]/g, ' ') + "__p.push('";
}).replace(/\r/g, '\\r').replace(/\n/g, '\\n').replace(/\t/g, '\\t') +
"');}return __p.join('');"
- )(result, context);
+ )(context);
}
return result;
};

0 comments on commit 1050b8f

Please sign in to comment.