PageSourceSearch

https://terrassaocupacio.cat/wp-content/plugins/mybroker-shortcode…/js/jquery.debouncedresize.js?ver=1.0.1

js terrassaocupacio.cat collected 2026-10-06 15:05:43 UTC 1,387 bytes, 92 lines download raw bytes

1/*��
2 * debouncedresize: special jQuery event that happens once after a window resize��
3��
4 *��
5��
6 * latest version and complete README available on Github:��
7��
8 * https://github.com/louisremi/jquery-smartresize��
9��
10 *��
11��
12 * Copyright 2012 @louis_remi��
13��
14 * Licensed under the MIT license.��
15��
16 *��
17��
18 * This saved you an hour of work? ��
19��
20 * Send me music http://www.amazon.co.uk/wishlist/HNTU0468LQON��
21��
22 */��
23��
24(function($) {��
25��
26��
27��
28var $event = $.event,��
29��
30	$special,��
31��
32	resizeTimeout;��
33��
34��
35��
36$special = $event.special.debouncedresize = {��
37��
38	setup: function() {��
39��
40		$( this ).on( "resize", $special.handler );��
41��
42	},��
43��
44	teardown: function() {��
45��
46		$( this ).off( "resize", $special.handler );��
47��
48	},��
49��
50	handler: function( event, execAsap ) {��
51��
52		// Save the context��
53��
54		var context = this,��
55��
56			args = arguments,��
57��
58			dispatch = function() {��
59��
60				// set correct event type��
61��
62				event.type = "debouncedresize";��
63��
64				$event.dispatch.apply( context, args );��
65��
66			};��
67��
68��
69��
70		if ( resizeTimeout ) {��
71��
72			clearTimeout( resizeTimeout );��
73��
74		}��
75��
76��
77��
78		execAsap ?��
79��
80			dispatch() :��
81��
82			resizeTimeout = setTimeout( dispatch, $special.threshold );��
83��
84	},��
85��
86	threshold: 150��
87��
88};��
89��
90��
91��
92})(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.