Permalink
Browse files

Export the t function for use when passing a function as the 'templat…

…e' option (see #137)
  • Loading branch information...
1 parent 6fe8016 commit b04ca94c53990868dc477ed2a981ed2a1eb0a62b @purcell purcell committed Jul 5, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 tweet/jquery.tweet.js
View
@@ -46,6 +46,8 @@
return result;
} else return template(info);
}
+ // Export the t function for use when passing a function as the 'template' option
+ $.extend({tweet: {t: t}});
function replacer (regex, replacement) {
return function() {

0 comments on commit b04ca94

Please sign in to comment.