Lines Matching refs:that

8 use of this software only upon the condition that you accept all of the terms of either the Apache
208 * filters out mouse events that occur when mouse is stationary but
221 * Debounces a function. Returns a function that calls the original fn function only if no invocations have been made
265 /* set the focus in a 0 timeout - that way the focus is set after the processing
407 * @param options.transport function that will be used to execute the ajax request. must be compatible with parameters supported by $.ajax
409 * @param options.data a function(searchTerm, pageNumber, context) that should return an object containing query string parameters for the above url.
412 * @param options.results a function(remoteData, pageNumber) that converts data returned form the remote request to the format expected by Select2.
414 * results array of objects that will be used as choices
469 * Produces a query function that works with a local array
474 * If the array form is used it is assumed that it contains objects with 'id' and 'text' keys.
476 * If the object form is used ti is assumed that it contains 'data' and 'text' keys. The 'data' key should contain
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
479 * value of 'text' which will be used to match choices. Alternatively, text can be a function(item) that can extract
486 text = function (item) { return ""+item.text; }; // function used to retrieve the text portion of a data item that is matched against the search
776 // trap all mouse events from leaving the dropdown. sometimes there may be a modal that is listening
788 // if the user has provided a function that can set selection based on the value of the source element
1372 // attach listeners to events that can change the position of the container and thus require
1374 var that = this;
1377 that.positionDropdown();
1441 // that way any unselectable headers above it will also be scrolled
1832 // check if there is inline style on the element that contains width
1845 // next check if css('width') can resolve a width that is percent based, this is sometimes possible
2791 // we could call this.resizeSearch(), but we do not because that requires a sizer and we do not want to create one so early because of a firefox bug, see #944
2922 // since its not possible to select an element that has already been