description | Debian packaging for ‘jquery-textcomplete’ |
homepage URL | https://tracker.debian.org/pkg/jquery-textcomplete |
owner | ben+repo.or.cz@benfinney.id.au |
last change | Sat, 3 Sep 2016 02:31:41 +0000 (3 12:31 +1000) |
URL | git://repo.or.cz/debian_jquery-textcomplete.git |
https://repo.or.cz/debian_jquery-textcomplete.git | |
push URL | ssh://repo.or.cz/debian_jquery-textcomplete.git |
https://repo.or.cz/debian_jquery-textcomplete.git (learn more) | |
bundle info | debian_jquery-textcomplete.git downloadable bundles |
content tags |
Introduces autocompleting power to textareas, like a GitHub comment form has.
Demo.
$('textarea').textcomplete([{
match: /(^|\b)(\w{2,})$/,
search: function (term, callback) {
var words = ['google', 'facebook', 'github', 'microsoft', 'yahoo'];
callback($.map(words, function (word) {
return word.indexOf(term) === 0 ? word : null;
}));
},
replace: function (word) {
return word + ' ';
}
}]);
See doc dir.
Licensed under the MIT License.
Patches and code improvements were contributed by:
https://github.com/yuku-t/jquery-textcomplete/graphs/contributors
2016-09-03 | Ben Finney | Merge tag 'upstream/1.7.1'master | commitcommitdifftreesnapshot (tar.gz zip) |
2016-09-03 | Ben Finney | Import source for “1.7.1” from upstream tarball.upstreamupstream/1.7.1 | commitcommitdifftreesnapshot (tar.gz zip) |
2016-09-02 | Ben Finney | Initial empty commit.initial | commitcommitdifftreesnapshot (tar.gz zip) |
8 years ago | upstream/1.7.1 | Upstream version 1.7.1 | tag | commitlog |
8 years ago | initial | commitlog |
8 years ago | packaging | logtree |
8 years ago | upstream | logtree |
8 years ago | pristine-tar | logtree |
8 years ago | master | logtree |