MCPcopy Index your code
hub / github.com/DHTMLX/gantt / indexOf

Function indexOf

samples/common/codehighlight/codemirror.js:200–204  ·  view source on GitHub ↗
(array, elt)

Source from the content-addressed store, hash-verified

198 };
199
200 function indexOf(array, elt) {
201 for (var i = 0; i < array.length; ++i)
202 { if (array[i] == elt) { return i } }
203 return -1
204 }
205
206 // Number of pixels added to scroller and sizer to hide scrollbar
207 var scrollerGap = 50;

Callers 13

offFunction · 0.85
signalCursorActivityFunction · 0.85
lineNoFunction · 0.85
removeReadOnlyRangesFunction · 0.85
regLineChangeFunction · 0.85
patchDisplayFunction · 0.85
normalizeSelectionFunction · 0.85
copyHistoryArrayFunction · 0.85
makeChangeInnerFunction · 0.85
loopFunction · 0.85
codemirror.jsFile · 0.85
readTextFromFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected