if (typeof jQuery == "undefined") {
(function (window, undefined) {
var rootjQuery,
readyList,
document = window.document,
location = window.location,
navigator = window.navigator,
_jQuery = window.jQuery,
_$ = window.$,
core_push = Array.prototype.push,
core_slice = Array.prototype.slice,
core_indexOf = Array.prototype.indexOf,
core_toString = Object.prototype.toString,
core_hasOwn = Object.prototype.hasOwnProperty,
core_trim = String.prototype.trim,
jQuery = function (selector, context) {
return new jQuery
.fn
.init(selector, context, rootjQuery);
},
core_pnum = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,
core_rnotwhite = /\S/,
core_rspace = /\s+/,
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
rquickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
rvalidchars = /^[\],:{}\s]*$/,
rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,
rmsPrefix = /^-ms-/,
rdashAlpha = /-([\da-z])/gi,
fcamelCase = function (all, letter) {
return (letter + "").toUpperCase();
},
DOMContentLoaded = function () {
if (document.addEventListener) {
document.removeEventListener("DOMContentLoaded", DOMContentLoaded, false);
jQuery.ready();
} else if (document.readyState === "complete") {
document.detachEvent("onreadystatechange", DOMContentLoaded);
jQuery.ready();
}
},
class2type = {};
jQuery.fn = jQuery.prototype = {
constructor: jQuery,
each : function (callback, args) {
return jQuery.each(this, callback, args);
},
end : function () {
return this.prevObject || this.constructor(null);
},
eq : function (i) {
i =+ i;
return i === -1
? this.slice(i)
: this.slice(i, i + 1);
},
first : function () {
return this.eq(0);
},
get : function (num) {
return num == null
? this.toArray()
: (num < 0
? this[this.length + num]
: this[num]);
},
init : function (selector, context, rootjQuery) {
var match,
elem,
ret,
doc;
if (!selector) {
return this;
}
if (selector.nodeType) {
this.context = this[0] = selector;
this.length = 1;
return this;
}
if (typeof selector === "string") {
if (selector.charAt(0) === "<" && selector.charAt(selector.length - 1) === ">" && selector.length >= 3) {
match = [null, selector, null];
} else {
match = rquickExpr.exec(selector);
}
if (match && (match[1] || !context)) {
if (match[1]) {
context = context instanceof jQuery
? context[0]
: context;
doc = (context && context.nodeType
? context.ownerDocument || context
: document);
selector = jQuery.parseHTML(match[1], doc, true);
if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) {
this
.attr
.call(selector, context, true);
}
return jQuery.merge(this, selector);
} else {
elem = document.getElementById(match[2]);
if (elem && elem.parentNode) {
if (elem.id !== match[2]) {
return rootjQuery.find(selector);
}
this.length = 1;
this[0] = elem;
}
this.context = document;
this.selector = selector;
return this;
}
} else if (!context || context.jquery) {
return (context || rootjQuery).find(selector);
} else {
return this
.constructor(context)
.find(selector);
}
} else if (jQuery.isFunction(selector)) {
return rootjQuery.ready(selector);
}
if (selector.selector !== undefined) {
this.selector = selector.selector;
this.context = selector.context;
}
return jQuery.makeArray(selector, this);
},
jquery : "1.8.2",
last : function () {
return this.eq(-1);
},
length : 0,
map : function (callback) {
return this.pushStack(jQuery.map(this, function (elem, i) {
return callback.call(elem, i, elem);
}));
},
push : core_push,
pushStack : function (elems, name, selector) {
var ret = jQuery.merge(this.constructor(), elems);
ret.prevObject = this;
ret.context = this.context;
if (name === "find") {
ret.selector = this.selector + (this.selector
? " "
: "") + selector;
} else if (name) {
ret.selector = this.selector + "." + name + "(" + selector + ")";
}
return ret;
},
ready : function (fn) {
jQuery
.ready
.promise()
.done(fn);
return this;
},
selector : "",
size : function () {
return this.length;
},
slice : function () {
return this.pushStack(core_slice.apply(this, arguments), "slice", core_slice.call(arguments).join(","));
},
sort : [].sort,
splice : [].splice,
toArray : function () {
return core_slice.call(this);
}
};
jQuery.fn.init.prototype = jQuery.fn;
jQuery.extend = jQuery.fn.extend = function () {
var options,
name,
src,
copy,
copyIsArray,
clone,
target = arguments[0] || {},
i = 1,
没有合适的资源?快使用搜索试试~ 我知道了~
vscode插件合集
共2000个文件
js:13501个
json:2845个
svg:837个
4星 · 超过85%的资源 需积分: 44 118 下载量 2 浏览量
2017-04-10
22:49:10
上传
评论 3
收藏 54.72MB ZIP 举报
温馨提示
vscode 常用插件 手动放到 .vscode/extensions/ 下
资源推荐
资源详情
资源评论
收起资源包目录
vscode插件合集 (2000个子文件)
ayyo.css 550KB
bootstrap.css 117KB
animate.min.css 52KB
font-awesome.css 34KB
color_shadow.css 31KB
color_canvas.css 30KB
font-awesome.min.css 28KB
color_white.css 27KB
webtool_only.css 20KB
font-awesome.css 14KB
hint.min.css 9KB
octicons.css 9KB
normalize.css 8KB
octicons.min.css 8KB
main.css 7KB
codemirror.css 6KB
jsdoc-default.css 6KB
mocha.css 5KB
reports.css 5KB
global.css 3KB
plato-overview.css 3KB
prettify-tomorrow.css 2KB
index.css 2KB
prettify-jsdoc.css 1KB
documentation.css 1KB
plato-display.css 1KB
plato-file.css 1KB
plato.css 866B
page_specific.css 745B
dialog.css 502B
morris.css 443B
morris.css 442B
simple-hint.css 368B
octicons.css 88B
octicons.min.css 72B
__ComponentName__.css 0B
empty.css 0B
html-with-base64image.html 206KB
API.html 56KB
webkit.html 21KB
bignumber-vs-bigdecimal.html 18KB
style.html 17KB
console-errors.html 12KB
bignumber-vs-number.html 10KB
index.html 8KB
index.html 6KB
index.html 5KB
minify.json.js.html 4KB
display.html 3KB
JSON.html 3KB
test.minify.html 2KB
TestDoc.html 2KB
every-test.html 2KB
index.html 2KB
single-test.html 1KB
requirejs-html-beautify.html 1KB
requirejs-html-beautify.html 1KB
index.html 893B
multiple.html 855B
contenteditable.html 824B
xxhash.html 769B
nested.html 737B
undelegate.html 715B
multiple.html 713B
dropdown.html 708B
multiple.html 705B
profile-matcher.html 671B
delegate.html 663B
profile.html 638B
script.html 608B
editable.html 607B
destroy.html 590B
non-editable.html 578B
uint32.html 573B
nodelist.html 560B
selector.html 545B
Attributes.html 503B
unified.html 500B
node.html 495B
template.html 476B
chars.html 451B
quick-test.html 319B
index.html 274B
index.html 187B
index.html 169B
index.html 98B
index.html 96B
Basic.html 76B
BigDecTest.java 1KB
typescriptServices.js 4.43MB
typescript.js 4.43MB
tsserver.js 3.62MB
tsserverlibrary.js 3.59MB
tsc.js 2.56MB
div.js 1.93MB
Main.js 961KB
base-out.js 822KB
prettier.min.js 652KB
Main.js 610KB
dom.js 593KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- qq_351560732018-08-18内容不一样了
- c771802017-08-21这是啥版本的,Mac的吗还是Win的?
B.Berry
- 粉丝: 2
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功