mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-21 20:35:17 +00:00
Specify jsdoc type for jQuery parameter
This commit is contained in:
parent
f91b4af950
commit
aeb4e384b6
@ -19,11 +19,14 @@
|
||||
// Browser globals
|
||||
factory(jQuery);
|
||||
}
|
||||
})(function ($) {
|
||||
})(
|
||||
/**
|
||||
* @param {jQuery} $
|
||||
*/
|
||||
function ($) {
|
||||
'use strict';
|
||||
|
||||
var utils = (function () {
|
||||
return {
|
||||
var utils = {
|
||||
escapeRegExChars: function (value) {
|
||||
return value.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
|
||||
},
|
||||
@ -34,8 +37,7 @@
|
||||
div.style.display = 'none';
|
||||
return div;
|
||||
},
|
||||
};
|
||||
})(),
|
||||
},
|
||||
keys = {
|
||||
ESC: 27,
|
||||
TAB: 9,
|
||||
|
Loading…
Reference in New Issue
Block a user