mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-14 10:43:50 +00:00
Use MAX instead of Math.max
This commit is contained in:
1 parent
76edc4f914
commit
717c8520b4
1 file changed
+1
-1
@@ -168,7 +168,7 @@ var _sprintf_justify = function(sign, prefix, string, suffix, width, leftJustify
|
||||
|
||||
var _sprintf_pad = function(n, ch)
|
||||
{
|
||||
return Array(Math.max(0,n)).join(ch);
|
||||
return Array(MAX(0,n)).join(ch);
|
||||
}
|
||||
|
||||
// Base64 encoding and decoding
|
||||
|
||||
Reference in new issue
Block a user