Vulcan/client/views/posts/modules/post_rank.js
2015-01-16 16:11:36 +09:00

6 lines
No EOL
148 B
JavaScript

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