remove some brackets
This commit is contained in:
parent
666815f566
commit
34cef100ad
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ Ox.formatCount <f> Returns a string like "2 items", "1 item" or "no items".
|
||||||
@*/
|
@*/
|
||||||
Ox.formatCount = function(number, singular, plural) {
|
Ox.formatCount = function(number, singular, plural) {
|
||||||
return (number === 0 ? 'no' : Ox.formatNumber(number)) + ' '
|
return (number === 0 ? 'no' : Ox.formatNumber(number)) + ' '
|
||||||
+ ((number === 1) ? singular : plural || singular + 's');
|
+ (number === 1 ? singular : plural || singular + 's');
|
||||||
};
|
};
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
|
|
Loading…
Reference in a new issue