hardlounge/client/js/libs/handlebars/users.js
2014-09-10 09:51:05 -07:00

6 lines
117 B
JavaScript

Handlebars.registerHelper(
"users", function(count) {
return count + " " + (count == 1 ? "user" : "users");
}
);