MCPcopy Index your code
hub / github.com/Blogify/Blogify / indexOf

Function indexOf

public/assets/assets/scripts/frontend.js:610–619  ·  view source on GitHub ↗
( list, elem )

Source from the content-addressed store, hash-verified

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

Callers 5

frontend.jsFile · 0.85
setMatcherFunction · 0.85
matcherFromTokensFunction · 0.85
Chart.jsFile · 0.85
Chart.Core.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected