forked from 0x2620/oxjs
improvements for icon view
This commit is contained in:
parent
833fa845d6
commit
34f655104a
4 changed files with 76 additions and 40 deletions
|
|
@ -1731,7 +1731,8 @@ Ox.wordwrap = function(str, len, sep, bal, spa) {
|
|||
>>> Ox.wordwrap("These are short words", 16, "<br/>", true)
|
||||
These are <br/>short words
|
||||
*/
|
||||
var len = len || 80,
|
||||
var str = str.toString(),
|
||||
len = len || 80,
|
||||
sep = sep || "<br/>",
|
||||
bal = bal || false,
|
||||
spa = Ox.isUndefined(spa) ? true : spa,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue