Vulcan/client/views/posts/modules/post_rank.js
2015-04-13 14:52:03 +09:00

7 lines
No EOL
141 B
JavaScript

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