Vulcan/client/views/posts/modules/post_upvote.js
2014-07-05 12:30:56 +09:00

6 lines
No EOL
150 B
JavaScript

Template[getTemplate('postUpvote')].helpers({
oneBasedRank: function(){
if(typeof this.rank !== 'undefined')
return this.rank + 1;
}
});