PageSourceSearch

https://www.iabuk.com/themes/custom/iab/js/polyfill.js?tk9vdr

js iabuk.com collected 2026-09-24 08:25:46 UTC 786 bytes, 29 lines download raw bytes

1/**
2 * This file is intended to add any polyfills needed before the main scripts
3 */
4
5// Add jquery events with passive scroll listeners.
6jQuery.event.special.touchstart = {
7  setup: function(_, ns, handle) {
8    this.addEventListener('touchstart', handle, {
9      passive: !ns.includes('noPreventDefault')
10    });
11  }
12};
13jQuery.event.special.touchmove = {
14  setup: function(_, ns, handle) {
15    this.addEventListener('touchmove', handle, {
16      passive: !ns.includes('noPreventDefault')
17    });
18  }
19};
20jQuery.event.special.wheel = {
21  setup: function(_, ns, handle) {
22    this.addEventListener('wheel', handle, { passive: true });
23  }
24};
25jQuery.event.special.mousewheel = {
26  setup: function(_, ns, handle) {
27    this.addEventListener('mousewheel', handle, { passive: true });
28  }
29};

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.