EasyShop/Scripts/jquery-ui.min.js
(开头部分) 313KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*!
* jQuery UI 1.8.16
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI
*/
(function(a, d) {
function c(h, g) {
var i = h.nodeName.toLowerCase();
if ("area" === i) {
g = h.parentNode;
i = g.name;
if (!h.href || !i || g.nodeName.toLowerCase() !== "map")
return false;
h = a("img[usemap=#" + i + "]")[0];
return !!h && e(h)
}
return (/input|select|textarea|button|object/.test(i) ? !h.disabled : "a" == i ? h.href || g : g) && e(h)
}
function e(h) {
return !a(h).parents().andSelf().filter(function() {
return a.curCSS(this, "visibility") === "hidden" || a.expr.filters.hidden(this)
}).length
}
a.ui = a.ui || {};
if (!a.ui.version) {
a.extend(a.ui, {version: "1.8.16",
keyCode: {ALT: 18,BACKSPACE: 8,CAPS_LOCK: 20,COMMA: 188,COMMAND: 91,COMMAND_LEFT: 91,COMMAND_RIGHT: 93,CONTROL: 17,DELETE: 46,DOWN: 40,END: 35,ENTER: 13,ESCAPE: 27,HOME: 36,INSERT: 45,LEFT: 37,MENU: 93,NUMPAD_ADD: 107,NUMPAD_DECIMAL: 110,NUMPAD_DIVIDE: 111,NUMPAD_ENTER: 108,NUMPAD_MULTIPLY: 106,NUMPAD_SUBTRACT: 109,PAGE_DOWN: 34,PAGE_UP: 33,PERIOD: 190,RIGHT: 39,SHIFT: 16,SPACE: 32,TAB: 9,UP: 38,WINDOWS: 91}});
a.fn.extend({propAttr: a.fn.prop || a.fn.attr,_focus: a.fn.focus,focus: function(h, g) {
return typeof h === "number" ? this.each(function() {
var i =
this;
setTimeout(function() {
a(i).focus();
g && g.call(i)
}, h)
}) : this._focus.apply(this, arguments)
},scrollParent: function() {
var h;
h = a.browser.msie && /(static|relative)/.test(this.css("position")) || /absolute/.test(this.css("position")) ? this.parents().filter(function() {
return /(relative|absolute|fixed)/.test(a.curCSS(this, "position", 1)) && /(auto|scroll)/.test(a.curCSS(this, "overflow", 1) + a.curCSS(this, "overflow-y", 1) + a.curCSS(this, "overflow-x", 1))
}).eq(0) : this.parents().filter(function() {
return /(auto|scroll)/.test(a.curCSS(this,
"overflow", 1) + a.curCSS(this, "overflow-y", 1) + a.curCSS(this, "overflow-x", 1))
}).eq(0);
return /fixed/.test(this.css("position")) || !h.length ? a(document) : h
},zIndex: function(h) {
if (h !== d)
return this.css("zIndex", h);
if (this.length) {
h = a(this[0]);
for (var g; h.length && h[0] !== document; ) {
g = h.css("position");
if (g === "absolute" || g === "relative" || g === "fixed") {
g = parseInt(h.css("zIndex"), 10);
if (!isNaN(g) && g !== 0)
return g
后面还有 4807+ 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。