Skip to content

Commit ade7ea3

Browse files
committed
Merge pull request DefinitelyTyped#8706 from hupfis/master
Fix ajax-field 'quietMillis' to 'delay'.
2 parents 9f83bfc + 74fe6ff commit ade7ea3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

select2/select2-tests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ $("#e7").select2({
102102
ajax: {
103103
url: "http://api.rottentomatoes.com/api/public/v1.0/movies.json",
104104
dataType: 'jsonp',
105-
quietMillis: 100,
105+
delay: 100,
106106
data: function (term, page) {
107107
return {
108108
q: term,

select2/select2.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface Select2AjaxOptions {
2525
*/
2626
url?: any;
2727
dataType?: string;
28-
quietMillis?: number;
28+
delay?: number;
2929
cache?: boolean;
3030
data?: (term: string, page: number, context: any) => any;
3131
results?: (term: any, page: number, context: any) => any;

0 commit comments

Comments
 (0)