diff options
Diffstat (limited to 'luigi-template.js')
-rw-r--r-- | luigi-template.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/luigi-template.js b/luigi-template.js index 55ecf25..610e120 100644 --- a/luigi-template.js +++ b/luigi-template.js @@ -84,8 +84,8 @@ LuigiTemplate = (function() { return (v || '').toLowerCase(); }, - pluralize: function(v) { - return v + 's'; + s: function(v) { + return (v == 1) ? '' : 's'; }, length: function(v) { |