diff --git a/ajax/libs/tabcomplete/1.1.1/tabcomplete.js b/ajax/libs/tabcomplete/1.1.1/tabcomplete.js new file mode 100644 index 000000000..a67961aad --- /dev/null +++ b/ajax/libs/tabcomplete/1.1.1/tabcomplete.js @@ -0,0 +1,198 @@ +/*! + * tabComplete + * Lightweight tab completion for inputs and textareas + * + * Source: + * https://github.com/erming/tabComplete + * + * Copyright (c) 2014 Mattias Erming + * Licensed under the MIT License. + * + * Version 1.1.1 + */ +(function($) { + var keys = { + tab: 9, + up: 38, + down: 40 + }; + + $.fn.tabComplete = function(args, options) { + if (this.length > 1) { + return this.each(function() { + $(this).tabComplete(args, options); + }); + } + + // Only enable the plugin on and