(arr, iterator)
| 520 | //// cross-browser compatiblity functions //// |
| 521 | |
| 522 | var _forEach = function (arr, iterator) { |
| 523 | if (arr.forEach) { |
| 524 | return arr.forEach(iterator); |
| 525 | } |
| 526 | for (var i = 0; i < arr.length; i += 1) { |
| 527 | iterator(arr[i], i, arr); |
| 528 | } |
| 529 | }; |
| 530 | |
| 531 | var _map = function (arr, iterator) { |
| 532 | if (arr.map) { |
no outgoing calls
no test coverage detected
searching dependent graphs…