, , , , , .
, , - .
:
var c=function(){},c={autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,
onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},
formatResult:g.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,
onSearchStart:c,onSearchComplete:c,onSearchError:c,
, , . , c onSearchStart:c,onSearchComplete:c,onSearchError:c,.
, c ? , , c , , onSearchStart, , .
.
, , . :
// v---originally it called `noop`
var noop = function () { },
that = this,
defaults = {
autoSelectFirst: false,
appendTo: 'body',
serviceUrl: null,
lookup: null,
onSelect: null,
width: 'auto',
minChars: 1,
maxHeight: 300,
deferRequestBy: 0,
params: {},
formatResult: YithAutocomplete.formatResult,
delimiter: null,
zIndex: 9999,
type: 'GET',
noCache: false,
onSearchStart: noop, // <---here it being used
onSearchComplete: noop, // <---here it being used
onSearchError: noop, // <---here it being used
, , noop, no-operation, , . , noop .
, , minifier , , , noop, , . , IMO.