dancrew32 / AWESOME-JS

A Lightweight JavaScript Framework that performs common tasks (IE6, 7, 8, FF, WK, Opera)
awesomejs
2 stars 0 forks source link

add pluralization method #16

Closed dancrew32 closed 13 years ago

dancrew32 commented 13 years ago

https://github.com/dancrew32/AWESOME-JS/blob/master/plugins/characterLimit/characterLimit.js#L66

something to shorthand var word = if (count == 1) ? singularString : pluralString;

into var word = $.plural(count, singularString, pluralString);

dancrew32 commented 13 years ago

added to awesome as described above