Skip to content

Commit 49a86e2

Browse files
author
thereloaded
committed
added query to function head jsdoc block
1 parent f07bab5 commit 49a86e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ the specific language governing permissions and limitations under the Apache Lic
391391
* @param options.data a function(searchTerm, pageNumber, context) that should return an object containing query string parameters for the above url.
392392
* @param options.dataType request data type: ajax, jsonp, other datatypes supported by jQuery's $.ajax function or the transport function if specified
393393
* @param options.quietMillis (optional) milliseconds to wait before making the ajaxRequest, helps debounce the ajax function if invoked too often
394-
* @param options.results a function(remoteData, pageNumber) that converts data returned form the remote request to the format expected by Select2.
394+
* @param options.results a function(remoteData, pageNumber, query) that converts data returned form the remote request to the format expected by Select2.
395395
* The expected format is an object containing the following keys:
396396
* results array of objects that will be used as choices
397397
* more (optional) boolean indicating whether there are more results available

0 commit comments

Comments
 (0)