2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-29 00:06:36 +00:00

Rev for 1.4.0 release

This commit is contained in:
Tomas Kirda 2017-04-03 17:05:29 -05:00
parent cadd05fae2
commit cae37b9b16
5 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "devbridge-autocomplete", "name": "devbridge-autocomplete",
"version": "1.4.0", "version": "1.4.1",
"homepage": "https://github.com/devbridge/jQuery-Autocomplete", "homepage": "https://github.com/devbridge/jQuery-Autocomplete",
"authors": [ "authors": [
"Tomas Kirda" "Tomas Kirda"

View File

@ -6,7 +6,7 @@
"ajax", "ajax",
"autocomplete" "autocomplete"
], ],
"version": "1.4.0", "version": "1.4.1",
"author": { "author": {
"name": "Tomas Kirda", "name": "Tomas Kirda",
"url": "https://github.com/tkirda" "url": "https://github.com/tkirda"

View File

@ -1,5 +1,5 @@
/** /**
* Ajax Autocomplete for jQuery, version 1.4.0 * Ajax Autocomplete for jQuery, version 1.4.1
* (c) 2017 Tomas Kirda * (c) 2017 Tomas Kirda
* *
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license. * Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
@ -91,7 +91,7 @@
Autocomplete.defaults = { Autocomplete.defaults = {
ajaxSettings: {}, ajaxSettings: {},
autoSelectFirst: false, autoSelectFirst: false,
appendTo: document.body, appendTo: 'body',
serviceUrl: null, serviceUrl: null,
lookup: null, lookup: null,
onSelect: null, onSelect: null,
@ -174,7 +174,7 @@
container = $(that.suggestionsContainer); container = $(that.suggestionsContainer);
container.appendTo(options.appendTo); container.appendTo(options.appendTo || 'body');
// Only set width if it was provided: // Only set width if it was provided:
if (options.width !== 'auto') { if (options.width !== 'auto') {
@ -250,7 +250,7 @@
var that = this, var that = this,
options = that.options; options = that.options;
$.extend(options, suppliedOptions); this.options = $.extend({}, options, suppliedOptions);
that.isLocal = $.isArray(options.lookup); that.isLocal = $.isArray(options.lookup);

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "devbridge-autocomplete", "name": "devbridge-autocomplete",
"version": "1.4.0", "version": "1.4.1",
"description": "Autocomplete provides suggestions while you type into the text field.", "description": "Autocomplete provides suggestions while you type into the text field.",
"homepage": "https://github.com/devbridge/jQuery-Autocomplete", "homepage": "https://github.com/devbridge/jQuery-Autocomplete",
"author": "Tomas Kirda (https://twitter.com/tkirda)", "author": "Tomas Kirda (https://twitter.com/tkirda)",