diff options
Diffstat (limited to 'StoneIsland/www/js/vendor/util.js')
| -rw-r--r-- | StoneIsland/www/js/vendor/util.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/StoneIsland/www/js/vendor/util.js b/StoneIsland/www/js/vendor/util.js index fede4761..6523d50e 100644 --- a/StoneIsland/www/js/vendor/util.js +++ b/StoneIsland/www/js/vendor/util.js @@ -27,6 +27,7 @@ function parse_rgba_string (s) { return s.match(/(\d+)/g).slice(0,3) } function title_case (str) { return str.replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();}); } +function pluralize (n,s,ss) { return n + " " + s + ( n == 1 ? "" : (ss || "s") ) } var E = Math.E var PI = Math.PI |
