Lines Matching defs:array
129 function indexOf(value, array) {
130 var i = 0, l = array.length;
132 if (equal(value, array[i])) return i;
167 * Splits the string into an array of values, trimming each value. An empty array is returned for nulls or empty
414 * results array of objects that will be used as choices
469 * Produces a query function that works with a local array
471 * @param options object containing configuration parameters. The options parameter can either be an array or an
474 * If the array form is used it is assumed that it contains objects with 'id' and 'text' keys.
477 * an array of objects that will be used as choices. These objects must contain at least an 'id' key. The 'text'
478 * key can either be a String in which case it is expected that each element in the 'data' array has a key with the
593 * opts.tokenSeparators array and uses opts.createSearchChoice to create the choice object. Both of those
2515 //search in data by array of ids, storing matching items in a list
2528 // reorder matches based on the order they appear in the ids array because right now
2529 // they are in the order in which they appear in data array
3134 // remove intersection from each array