Shuo/client/js/libs/handlebars/users.js

6 lines
117 B
JavaScript
Raw Normal View History

2014-09-10 16:50:59 +00:00
Handlebars.registerHelper(
"users", function(count) {
return count + " " + (count == 1 ? "user" : "users");
}
);