(error)
| 108 | var length = dataArray.length; |
| 109 | |
| 110 | function innerCallback (error) { |
| 111 | if (calledBack) { |
| 112 | return; |
| 113 | } |
| 114 | |
| 115 | completed++; |
| 116 | |
| 117 | if (error) { |
| 118 | calledBack = true; |
| 119 | callback(error); |
| 120 | } |
| 121 | else if (completed === length) { |
| 122 | calledBack = true; |
| 123 | callback(); |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | for (var index = 0; index < length; index++) { |
| 128 | fn(dataArray[index], innerCallback); |
nothing calls this directly
no outgoing calls
no test coverage detected