MCPcopy
hub / github.com/bendc/sprint / inArray

Function inArray

sprint.js:271–277  ·  view source on GitHub ↗
(el, arr)

Source from the content-addressed store, hash-verified

269 }
270
271 var inArray = function(el, arr) {
272 var i = arr.length
273 while (i--) {
274 if (arr[i] === el) return true
275 }
276 return false
277 }
278
279 var isNamespaced = function(event) {
280 return /\./.test(event)

Callers 2

sprint.jsFile · 0.85
getEventsToRemoveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected