PageSourceSearch

https://asesoresaragon.org/Scripts/App/actorsAutocomplete.js

js asesoresaragon.org collected 2026-10-10 01:20:30 UTC 806 bytes, 31 lines download raw bytes

1(function($){
2	$.fn.actorsAutocomplete = function(options){
3		var opts = $.extend({}, $.fn.actorsAutocomplete.defaults, options);
4		
5		return this.each(function(){
6			var $this = $(this);
7			
8			$this.autocomplete({
9				source: opts.source,
10				delay: 200,
11				select: function( event, ui ) { opts.select(event, ui); }
12			})
13			.data("ui-autocomplete")._renderItem = function(ul, item) {
14				ul.addClass("actors-autocomplete");
15				$a = $("<a></a>")
16					.append($("<img/>").attr("src", item.pictureUrl))
17					.append($("<span></span>").text(item.displayName));
18							
19					return $("<li></li>")
20						.append($a)
21						.appendTo(ul);
22			};	
23		});
24	}
25	
26	$.fn.actorsAutocomplete.defaults = {
27		source: "/actors-by-name",
28		select: function(event, ui){
29		} 
30	}
31}(jQuery));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.