/home/techb158/workloadmatch.com/bower_components/select2/src/js/select2/data
NameSizeModeActions
ajax.js28460777editdlrm
array.js19280777editdlrm
base.js10050777editdlrm
maximumInputLength.js7200777editdlrm
maximumSelectionLength.js8360777editdlrm
minimumInputLength.js6820777editdlrm
select.js59330777editdlrm
tags.js25340777editdlrm
tokenizer.js27790777editdlrm
Edit: /home/techb158/workloadmatch.com/bower_components/select2/src/js/select2/data/maximumInputLength.js (720B)
define([ ], function () { function MaximumInputLength (decorated, $e, options) { this.maximumInputLength = options.get('maximumInputLength'); decorated.call(this, $e, options); } MaximumInputLength.prototype.query = function (decorated, params, callback) { params.term = params.term || ''; if (this.maximumInputLength > 0 && params.term.length > this.maximumInputLength) { this.trigger('results:message', { message: 'inputTooLong', args: { maximum: this.maximumInputLength, input: params.term, params: params } }); return; } decorated.call(this, params, callback); }; return MaximumInputLength; });