(a, b)
| 361 | } |
| 362 | |
| 363 | function compareIgnoreCase(a, b) { |
| 364 | /***** fix bug: cast to String for Safari compatibility ****/ |
| 365 | var la = (String(a) || '').toLowerCase() |
| 366 | var lb = (String(b) || '').toLowerCase() |
| 367 | /***********************************************************/ |
| 368 | if (la === lb) { |
| 369 | return 0 |
| 370 | } |
| 371 | else { |
| 372 | return la < lb ? -1 : 1 |
| 373 | } |
| 374 | } |
| 375 | |
| 376 | function filterIgnoreCase(a, filterValue) { |
| 377 | /***** fix bug: cast to String for Safari compatibility ****/ |
no outgoing calls
no test coverage detected