1jQuery( document ).ready( function( $ ) { 2 3 jQuery.event.special.touchstart = { 4 setup: function( _, ns, handle ) { 5 this.addEventListener("touchstart", handle, { passive: !ns.includes("noPreventDefault") }); 6 } 7 }; 8 jQuery.event.special.touchmove = { 9 setup: function( _, ns, handle ) { 10 this.addEventListener("touchmove", handle, { passive: !ns.includes("noPreventDefault") }); 11 } 12 }; 13 jQuery.event.special.wheel = { 14 setup: function( _, ns, handle ){ 15 this.addEventListener("wheel", handle, { passive: true }); 16 } 17 }; 18 jQuery.event.special.mousewheel = { 19 setup: function( _, ns, handle ){ 20 this.addEventListener("mousewheel", handle, { passive: true }); 21 } 22 }; 23 24});
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.