From 7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 7 Jan 2020 13:06:14 +0100 Subject: Added wordpress --- srcs/wordpress/wp-includes/js/jquery/suggest.js | 316 ++++++++++++++++++++++++ 1 file changed, 316 insertions(+) create mode 100644 srcs/wordpress/wp-includes/js/jquery/suggest.js (limited to 'srcs/wordpress/wp-includes/js/jquery/suggest.js') diff --git a/srcs/wordpress/wp-includes/js/jquery/suggest.js b/srcs/wordpress/wp-includes/js/jquery/suggest.js new file mode 100644 index 0000000..97aab05 --- /dev/null +++ b/srcs/wordpress/wp-includes/js/jquery/suggest.js @@ -0,0 +1,316 @@ +/* + * jquery.suggest 1.1b - 2007-08-06 + * Patched by Mark Jaquith with Alexander Dick's "multiple items" patch to allow for auto-suggesting of more than one tag before submitting + * See: http://www.vulgarisoip.com/2007/06/29/jquerysuggest-an-alternative-jquery-based-autocomplete-library/#comment-7228 + * + * Uses code and techniques from following libraries: + * 1. http://www.dyve.net/jquery/?autocomplete + * 2. http://dev.jquery.com/browser/trunk/plugins/interface/iautocompleter.js + * + * All the new stuff written by Peter Vulgaris (www.vulgarisoip.com) + * Feel free to do whatever you want with this file + * + */ + +(function($) { + + $.suggest = function(input, options) { + var $input, $results, timeout, prevLength, cache, cacheSize; + + $input = $(input).attr("autocomplete", "off"); + $results = $("