Update SimpleAutocomplete

master
Vitaliy Filippov 2015-09-06 16:23:26 +00:00
parent b8d6d78de5
commit 69e33666ce
3 changed files with 6 additions and 5 deletions

View File

@ -2,7 +2,7 @@
Homepage: http://yourcmc.ru/wiki/SimpleAutocomplete Homepage: http://yourcmc.ru/wiki/SimpleAutocomplete
License: MPL 2.0+ (http://www.mozilla.org/MPL/2.0/) License: MPL 2.0+ (http://www.mozilla.org/MPL/2.0/)
Version: 2015-07-17 Version: 2015-09-06
(c) Vitaliy Filippov 2011-2015 (c) Vitaliy Filippov 2011-2015
Usage: Usage:
@ -86,6 +86,7 @@ var SimpleAutocomplete = function(input, dataLoader, params)
params = {}; params = {};
// Parameters // Parameters
this.options = params;
this.input = input; this.input = input;
this.dataLoader = dataLoader; this.dataLoader = dataLoader;
this.multipleDelimiter = params.multipleDelimiter; this.multipleDelimiter = params.multipleDelimiter;

4
hinter.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
use strict; use strict;
my $output = 'hinter.min.js'; my $output = 'hinter.min.js';
my %whitelist = map { $_ => 1 } qw(input remove replaceItems show hide onChange selectItem); my %whitelist = map { $_ => 1 } qw(input remove replaceItems show hide onChange selectItem options);
my %var = (); my %var = ();
my @names = 'a'..'ba'; my @names = 'a'..'ba';
@ -22,7 +22,7 @@ close OFD;
open FD, "+<", $output; open FD, "+<", $output;
$_ = <FD>; $_ = <FD>;
seek FD, 0, 0; seek FD, 0, 0;
print FD "// (c) Vitaliy Filippov 2011-2013 print FD "// (c) Vitaliy Filippov 2011-2015
// \@license MPL 2.0 http://www.mozilla.org/MPL/2.0/ // \@license MPL 2.0 http://www.mozilla.org/MPL/2.0/
// http://yourcmc.ru/wiki/SimpleAutocomplete // http://yourcmc.ru/wiki/SimpleAutocomplete
$_"; $_";