Lines Matching refs:index

1426 	function index(arr, obj) {  function
1487 var i = index(arr, name);
1524 var i = index(arr, name);
1623 !! ~index(this.array(), name)
4356 var index = childIndex !== undefined ? childIndex : parent.childNodes.length - 1;
4360 parent.insertBefore(group, parent.childNodes[index] || null);
4545 Canvas.prototype.getLayer = function(name, index) { argument
4554 layer = this._layers[name] = this._createLayer(name, index);
4559 if (typeof index !== 'undefined' && layer.index !== index) {
4560 throw new Error('layer <' + name + '> already created at index <' + index + '>');
4574 Canvas.prototype._createLayer = function(name, index) { argument
4576 if (!index) {
4577 index = 0;
4581 if (index >= layer.index) {
4590 index: index
9040 endOfLine = match[0].length + match.index;
22840 for (var index = 1; index < arguments.length; index++) {
22841 var source = arguments[index];
24221 var index = inArray(this.requireFail, otherRecognizer);
24222 if (index > -1) {
24223 this.requireFail.splice(index, 1);
25168 var index = inArray(recognizers, recognizer);
25170 if (index !== -1) {
25171 recognizers.splice(index, 1);
28054 index: i
28088 index: idx
28097 index: a.segment2
28106 index: a.segment2
28290 var index = -1;
28294 while (++index < length) {
28295 codeUnit = string.charCodeAt(index);
28312 (index == 0 && codeUnit >= 0x0030 && codeUnit <= 0x0039) ||
28316 index == 1 &&
28329 index == 0 &&
28333 result += '\\' + string.charAt(index);
28350 result += string.charAt(index);
28356 result += '\\' + string.charAt(index);
28402 var idx = intersection.index,
28427 if (intersection.index <= 0 || intersection.bendpoint) {
28433 start: waypoints[intersection.index - 1],
28434 end: waypoints[intersection.index]
28467 connectionSegmentMove.start(event, connection, intersection.index);
28469 bendpointMove.start(event, connection, intersection.index, !intersection.bendpoint);
28599 var draggerGfx = getSegmentDragger(intersection.index, parentGfx),
28600 segmentStart = waypoints[intersection.index - 1],
28601 segmentEnd = waypoints[intersection.index],
30716 childNodesArray.forEach(function(childNode, index) { argument
30718 if (index === startContainerChildIndex) {
30723 } else if (index > startContainerChildIndex && index <= endContainerChildIndex) {
33271 var index = elementsData.indexOf(elementData);
33273 if (index !== -1) {
33274 elementsData.splice(index, 1);
33396 var index = elements.indexOf(element);
33398 if (index === -1) {
33402 return elements.splice(index, 1);
39999 }).forEach(function(index) { argument
40000 var host = elements[ index ];
40002 context.elements[ index ] = self.replaceShape(elements[ index ], host);
41190 }).forEach(function(index) { argument
41191 context.elements[ index ] = self.replaceShape(elements[ index ]);
41199 shapes.forEach(function(shape, index) { argument
41203 shapes[ index ] = self.replaceShape(shape);
41284 waypointsBefore = waypoints.slice(0, intersection.index);
41285 waypointsAfter = waypoints.slice(intersection.index + (intersection.bendpoint ? 1 : 0));
41292 dockingPoint = intersection.bendpoint ? waypoints[intersection.index] : mid;
42216 var index = attachment.segmentIndex;
42227 if (index === oldSegmentStartIndex) {
42232 if (index >= newSegmentStartIndex) {
42233 return (index+offset < newSegmentStartIndex) ? newSegmentStartIndex : index+offset;
42237 return index;
42249 return index;
42253 if (index >= bendpointIndex) {
42254 newIndex = insert ? index + 1 : index - 1;
42258 if (index < bendpointIndex) {
42260 newIndex = index;
42263 if (insert && attachment.type !== 'bendpoint' && bendpointIndex-1 === index) {
42278 return index;
42282 return (index === 0) ? 0 : null;
42286 return (index === oldWaypoints.length - 2) ? newWaypoints.length - 2 : null;
43226 index;
43233 index = previousSelection.indexOf(oldConnection);
43235 if (index === -1) {
43239 previousSelection.splice(index, 1, newConnection);
45371 context.parentIndex = ordering.index;
45389 context.newParentIndex = ordering.index;
45532 index: -1
45568 index: insertIndex,