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

7 lines
157 B
JavaScript
Raw Normal View History

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