MCPcopy Create free account
hub / github.com/TruthHun/BookStack / indexOf

Function indexOf

static/wangEditor/js/lib/jquery-2.2.1.js:602–611  ·  view source on GitHub ↗
( list, elem )

Source from the content-addressed store, hash-verified

600 // Use a stripped-down indexOf as it's faster than native
601 // http://jsperf.com/thor-indexof-vs-for/5
602 indexOf = function( list, elem ) {
603 var i = 0,
604 len = list.length;
605 for ( ; i < len; i++ ) {
606 if ( list[i] === elem ) {
607 return i;
608 }
609 }
610 return -1;
611 },
612
613 booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
614

Callers 3

jquery-2.2.1.jsFile · 0.70
setMatcherFunction · 0.70
matcherFromTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected