1/*! 2 * jQuery Double Tap To Go - v1.0.0 - 2015-04-20 3 * http://github.com/zenopopovici/DoubleTapToGo 4 * Copyright (c) 2015 Graffino 5 */ 6 7! function($, window, document, undefined) { 8 $.fn.doubleTapToGo = function(action) { 9 //not needed anymore for ios devices since good old ios13 10 let isIOS = (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1); 11 if(!isIOS){ 12 return "ontouchstart" in window || navigator.msMaxTouchPoints || navigator.userAgent.toLowerCase().match(/windows phone os 7/i) ? (this.each("unbind" === action ? function() { 13 $(this).off(), $(document).off("click touchstart MSPointerDown", handleTouch) 14 } : function() { 15 function handleTouch(e) { 16 for (var resetItem = !0, parents = $(e.target).parents(), i = 0; i < parents.length; i++) parents[i] == curItem[0] && (resetItem = !1); 17 resetItem && (curItem = !1) 18 } 19 var curItem = !1; 20 $(this).on("click", function(e) { 21 var item = $(this); 22 item[0] != curItem[0] && (e.preventDefault(), curItem = item) 23 }), $(document).on("click touchstart MSPointerDown", handleTouch) 24 }), this) : !1 25 } 26 } 27}(jQuery, window, document);
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.