/
home
/
techb158
/
public_html
/
wp-includes
/
js
/
/home/techb158/public_html/wp-includes/js
mkdir
upload
Name
Size
Mode
Actions
codemirror/
-
0777
rm
crop/
-
0777
rm
dist/
-
0777
rm
imgareaselect/
-
0777
rm
jcrop/
-
0777
rm
jquery/
-
0777
rm
mediaelement/
-
0777
rm
plupload/
-
0777
rm
swfupload/
-
0777
rm
thickbox/
-
0777
rm
tinymce/
-
0777
rm
admin-bar.js
10549
0666
edit
dl
rm
admin-bar.min.js
3487
0666
edit
dl
rm
api-request.js
3324
0666
edit
dl
rm
api-request.min.js
1023
0666
edit
dl
rm
autosave.js
22476
0666
edit
dl
rm
autosave.min.js
5807
0666
edit
dl
rm
backbone.js
80436
0666
edit
dl
rm
backbone.min.js
24314
0666
edit
dl
rm
clipboard.js
26807
0666
edit
dl
rm
clipboard.min.js
9009
0666
edit
dl
rm
colorpicker.js
29083
0666
edit
dl
rm
colorpicker.min.js
16498
0666
edit
dl
rm
comment-reply.js
12383
0666
edit
dl
rm
comment-reply.min.js
2950
0666
edit
dl
rm
customize-base.js
25822
0666
edit
dl
rm
customize-base.min.js
7852
0666
edit
dl
rm
customize-loader.js
7903
0666
edit
dl
rm
customize-loader.min.js
3551
0666
edit
dl
rm
customize-models.js
6821
0666
edit
dl
rm
customize-models.min.js
3681
0666
edit
dl
rm
customize-preview-nav-menus.js
15024
0666
edit
dl
rm
customize-preview-nav-menus.min.js
5033
0666
edit
dl
rm
customize-preview-widgets.js
23253
0666
edit
dl
rm
customize-preview-widgets.min.js
7820
0666
edit
dl
rm
customize-preview.js
28597
0666
edit
dl
rm
customize-preview.min.js
11011
0666
edit
dl
rm
customize-selective-refresh.js
33335
0666
edit
dl
rm
customize-selective-refresh.min.js
10693
0666
edit
dl
rm
customize-views.js
5222
0666
edit
dl
rm
customize-views.min.js
2567
0666
edit
dl
rm
heartbeat.js
24052
0666
edit
dl
rm
heartbeat.min.js
5947
0666
edit
dl
rm
hoverintent-js.min.js
1718
0666
edit
dl
rm
hoverIntent.js
7225
0666
edit
dl
rm
hoverIntent.min.js
1499
0666
edit
dl
rm
imagesloaded.min.js
5520
0666
edit
dl
rm
json2.js
31
0666
edit
dl
rm
json2.min.js
35
0666
edit
dl
rm
masonry.min.js
24138
0666
edit
dl
rm
mce-view.js
25849
0666
edit
dl
rm
mce-view.min.js
9770
0666
edit
dl
rm
media-audiovideo.js
24717
0666
edit
dl
rm
media-audiovideo.min.js
12049
0666
edit
dl
rm
media-editor.js
29460
0666
edit
dl
rm
media-editor.min.js
11092
0666
edit
dl
rm
media-grid.js
27752
0666
edit
dl
rm
media-grid.min.js
13686
0666
edit
dl
rm
media-models.js
44085
0666
edit
dl
rm
media-models.min.js
13338
0666
edit
dl
rm
media-views.js
273089
0666
edit
dl
rm
media-views.min.js
110741
0666
edit
dl
rm
quicktags.js
22601
0666
edit
dl
rm
quicktags.min.js
11132
0666
edit
dl
rm
shortcode.js
10758
0666
edit
dl
rm
shortcode.min.js
2643
0666
edit
dl
rm
swfobject.js
0
0666
edit
dl
rm
swfobject.min.js
35
0666
edit
dl
rm
tw-sack.js
4970
0666
edit
dl
rm
tw-sack.min.js
3288
0666
edit
dl
rm
twemoji.js
37180
0666
edit
dl
rm
twemoji.min.js
19848
0666
edit
dl
rm
underscore.js
68873
0666
edit
dl
rm
underscore.min.js
19012
0666
edit
dl
rm
utils.js
4665
0666
edit
dl
rm
utils.min.js
1864
0666
edit
dl
rm
wp-ajax-response.js
3903
0666
edit
dl
rm
wp-ajax-response.min.js
2571
0666
edit
dl
rm
wp-api.js
46994
0666
edit
dl
rm
wp-api.min.js
14682
0666
edit
dl
rm
wp-auth-check.js
4444
0666
edit
dl
rm
wp-auth-check.min.js
1689
0666
edit
dl
rm
wp-backbone.js
15241
0666
edit
dl
rm
wp-backbone.min.js
3039
0666
edit
dl
rm
wp-custom-header.js
10465
0666
edit
dl
rm
wp-custom-header.min.js
4442
0666
edit
dl
rm
wp-embed-template.js
6779
0666
edit
dl
rm
wp-embed-template.min.js
3174
0666
edit
dl
rm
wp-embed.js
3214
0666
edit
dl
rm
wp-embed.min.js
1251
0666
edit
dl
rm
wp-emoji-loader.js
13357
0666
edit
dl
rm
wp-emoji-loader.min.js
2977
0666
edit
dl
rm
wp-emoji-release.min.js
22752
0666
edit
dl
rm
wp-emoji.js
8792
0666
edit
dl
rm
wp-emoji.min.js
2855
0666
edit
dl
rm
wp-list-revisions.js
970
0666
edit
dl
rm
wp-list-revisions.min.js
597
0666
edit
dl
rm
wp-lists.js
25315
0666
edit
dl
rm
wp-lists.min.js
7521
0666
edit
dl
rm
wp-pointer.js
10233
0666
edit
dl
rm
wp-pointer.min.js
3621
0666
edit
dl
rm
wp-sanitize.js
1622
0666
edit
dl
rm
wp-sanitize.min.js
402
0666
edit
dl
rm
wp-tooltip.js
1555
0666
edit
dl
rm
wp-tooltip.min.js
530
0666
edit
dl
rm
wp-util.js
4689
0666
edit
dl
rm
wp-util.min.js
1431
0666
edit
dl
rm
wpdialog.js
569
0666
edit
dl
rm
wpdialog.min.js
281
0666
edit
dl
rm
wplink.js
21240
0666
edit
dl
rm
wplink.min.js
11317
0666
edit
dl
rm
zxcvbn-async.js
821
0666
edit
dl
rm
zxcvbn-async.min.js
351
0666
edit
dl
rm
zxcvbn.min.js
822237
0666
edit
dl
rm
Edit:
/home/techb158/public_html/wp-includes/js/hoverIntent.js
(7225B)
/*! * hoverIntent v1.10.2 // 2020.04.28 // jQuery v1.7.0+ * http://briancherne.github.io/jquery-hoverIntent/ * * You may use hoverIntent under the terms of the MIT license. Basically that * means you are free to use hoverIntent as long as this header is left intact. * Copyright 2007-2019 Brian Cherne */ /** * hoverIntent is similar to jQuery's built-in "hover" method except that * instead of firing the handlerIn function immediately, hoverIntent checks * to see if the user's mouse has slowed down (beneath the sensitivity * threshold) before firing the event. The handlerOut function is only * called after a matching handlerIn. * * // basic usage ... just like .hover() * .hoverIntent( handlerIn, handlerOut ) * .hoverIntent( handlerInOut ) * * // basic usage ... with event delegation! * .hoverIntent( handlerIn, handlerOut, selector ) * .hoverIntent( handlerInOut, selector ) * * // using a basic configuration object * .hoverIntent( config ) * * @param handlerIn function OR configuration object * @param handlerOut function OR selector for delegation OR undefined * @param selector selector OR undefined * @author Brian Cherne <brian(at)cherne(dot)net> */ ;(function(factory) { 'use strict'; if (typeof define === 'function' && define.amd) { define(['jquery'], factory); } else if (typeof module === 'object' && module.exports) { module.exports = factory(require('jquery')); } else if (jQuery && !jQuery.fn.hoverIntent) { factory(jQuery); } })(function($) { 'use strict'; // default configuration values var _cfg = { interval: 100, sensitivity: 6, timeout: 0 }; // counter used to generate an ID for each instance var INSTANCE_COUNT = 0; // current X and Y position of mouse, updated during mousemove tracking (shared across instances) var cX, cY; // saves the current pointer position coordinates based on the given mousemove event var track = function(ev) { cX = ev.pageX; cY = ev.pageY; }; // compares current and previous mouse positions var compare = function(ev,$el,s,cfg) { // compare mouse positions to see if pointer has slowed enough to trigger `over` function if ( Math.sqrt( (s.pX-cX)*(s.pX-cX) + (s.pY-cY)*(s.pY-cY) ) < cfg.sensitivity ) { $el.off(s.event,track); delete s.timeoutId; // set hoverIntent state as active for this element (permits `out` handler to trigger) s.isActive = true; // overwrite old mouseenter event coordinates with most recent pointer position ev.pageX = cX; ev.pageY = cY; // clear coordinate data from state object delete s.pX; delete s.pY; return cfg.over.apply($el[0],[ev]); } else { // set previous coordinates for next comparison s.pX = cX; s.pY = cY; // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) s.timeoutId = setTimeout( function(){compare(ev, $el, s, cfg);} , cfg.interval ); } }; // triggers given `out` function at configured `timeout` after a mouseleave and clears state var delay = function(ev,$el,s,out) { var data = $el.data('hoverIntent'); if (data) { delete data[s.id]; } return out.apply($el[0],[ev]); }; // checks if `value` is a function var isFunction = function(value) { return typeof value === 'function'; }; $.fn.hoverIntent = function(handlerIn,handlerOut,selector) { // instance ID, used as a key to store and retrieve state information on an element var instanceId = INSTANCE_COUNT++; // extend the default configuration and parse parameters var cfg = $.extend({}, _cfg); if ( $.isPlainObject(handlerIn) ) { cfg = $.extend(cfg, handlerIn); if ( !isFunction(cfg.out) ) { cfg.out = cfg.over; } } else if ( isFunction(handlerOut) ) { cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } ); } else { cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } ); } // A private function for handling mouse 'hovering' var handleHover = function(e) { // cloned event to pass to handlers (copy required for event object to be passed in IE) var ev = $.extend({},e); // the current target of the mouse event, wrapped in a jQuery object var $el = $(this); // read hoverIntent data from element (or initialize if not present) var hoverIntentData = $el.data('hoverIntent'); if (!hoverIntentData) { $el.data('hoverIntent', (hoverIntentData = {})); } // read per-instance state from element (or initialize if not present) var state = hoverIntentData[instanceId]; if (!state) { hoverIntentData[instanceId] = state = { id: instanceId }; } // state properties: // id = instance ID, used to clean up data // timeoutId = timeout ID, reused for tracking mouse position and delaying "out" handler // isActive = plugin state, true after `over` is called just until `out` is called // pX, pY = previously-measured pointer coordinates, updated at each polling interval // event = string representing the namespaced event used for mouse tracking // clear any existing timeout if (state.timeoutId) { state.timeoutId = clearTimeout(state.timeoutId); } // namespaced event used to register and unregister mousemove tracking var mousemove = state.event = 'mousemove.hoverIntent.hoverIntent'+instanceId; // handle the event, based on its type if (e.type === 'mouseenter') { // do nothing if already active if (state.isActive) { return; } // set "previous" X and Y position based on initial entry point state.pX = ev.pageX; state.pY = ev.pageY; // update "current" X and Y position based on mousemove $el.off(mousemove,track).on(mousemove,track); // start polling interval (self-calling timeout) to compare mouse coordinates over time state.timeoutId = setTimeout( function(){compare(ev,$el,state,cfg);} , cfg.interval ); } else { // "mouseleave" // do nothing if not already active if (!state.isActive) { return; } // unbind expensive mousemove event $el.off(mousemove,track); // if hoverIntent state is true, then call the mouseOut function after the specified delay state.timeoutId = setTimeout( function(){delay(ev,$el,state,cfg.out);} , cfg.timeout ); } }; // listen for mouseenter and mouseleave return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector); }; });
Save
cmd:
run