PageSourceSearch

https://kimikoe.com/news/js/gistfile.js

js kimikoe.com collected 2026-10-02 04:18:16 UTC 1,490 bytes, 54 lines download raw bytes

1(function () {
2  var tapClass = "";
3  var hoverClass = "";
4	
5	var Hover = window.Hover = function (ele) {
6		return new Hover.fn.init(ele);
7	};
8	Hover.fn = {
9		//Hover Instance
10		 init : function (ele) {
11			this.prop = ele;
12		}
13 
14		, bind : function (_hoverClass, _tapClass) {
15			hoverClass = _hoverClass;
16			tapClass = _tapClass;
17 
18			$(window).bind("touchstart", function(event) {
19				var target = event.target || window.target;
20				
21				var bindElement = null;
22				if (target.tagName == "A" || $(target).hasClass(tapClass)) {
23					bindElement = $(target);
24				} else if ($(target).parents("a").length > 0) {
25					bindElement = $(target).parents("a");
26				} else if ($(target).parents("." + tapClass).length > 0) {
27					bindElement = $(target).parents("." + tapClass);
28				}
29				
30				if (bindElement != null) {
31					Hover().touchstartHoverElement(bindElement);
32				}
33			});
34		}
35		, touchstartHoverElement : function (bindElement) {
36			bindElement.addClass(hoverClass);
37			bindElement.unbind("touchmove", Hover().touchmoveHoverElement);
38			bindElement.bind("touchmove", Hover().touchmoveHoverElement);
39			
40			bindElement.unbind("touchend", Hover().touchendHoverElement);
41			bindElement.bind("touchend", Hover().touchendHoverElement);
42		}
43		, touchmoveHoverElement : function (event) {
44			$(this).removeClass(hoverClass);
45		}
46		, touchendHoverElement : function (event) {
47			$(this).removeClass(hoverClass);
48		}
49	}
50	Hover.fn.init.prototype = Hover.fn;
51 
52	Hover().bind("hover", "tap");
53}
54)();

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.