(needle, haystack)
| 23 | } |
| 24 | |
| 25 | function inArray(needle, haystack) { |
| 26 | var length = haystack.length; |
| 27 | for(var i = 0; i < length; i++) { |
| 28 | if(haystack[i] == needle) return true; |
| 29 | } |
| 30 | return false; |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Parses a file for metadata and stores result in data object. |
no outgoing calls
no test coverage detected
searching dependent graphs…