简体   繁体   English

jquery.min.js 选择器中的值

[英]value in jquery.min.js selectors

I'm using jquery and I have a question.我正在使用 jquery,我有一个问题。

=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)
return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}
else while(b=a[d++])c+=e(b);return c},
d=*ga.selectors={cacheLength:50,*createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}}

What does the selectors = {cacheLength: mean in jquery.min.js?选择器 = {cacheLength:在 jquery.min.js 中是什么意思? and also is it possible to change the value of cacheLength?并且是否可以更改 cacheLength 的值?

除非您正在开发 jQuery 库本身,否则您不应该编辑 jQuery 文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM