Vulcan/client/views/posts/modules/post_upvote.js

6 lines
150 B
JavaScript
Raw Normal View History

2014-07-05 12:30:56 +09:00
Template[getTemplate('postUpvote')].helpers({
oneBasedRank: function(){
if(typeof this.rank !== 'undefined')
return this.rank + 1;
}
});