thelounge/client/js/libs/handlebars/users.js
2016-05-12 16:07:15 +03:00

5 lines
118 B
JavaScript

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