Lines Matching refs:test

39 this.isFirefox=/firefox/.test(userAgent);
40 this.isOpera=/opera/.test(userAgent);
41 this.isSafari=/webkit/.test(userAgent);
42 this.isIE=/msie/.test(userAgent)&&!/opera/.test(userAgent);
43 this.isIE6=/msie 6/i.test(navigator.appVersion);
139 if(reProtocol.test(scriptSrc)){path=rePath.exec(scriptSrc)[1]
149 }else{if(src.indexOf("/")!=-1){if(/^\.\/./.test(src)){path+=src.substring(2)
150 }else{if(/^\/./.test(src)){var domain=/^(\w+:\/\/[^\/]+)/.exec(path);
157 }isGetFirebugSite=reGetFirebugSite.test(path);
1257 }try{return toString.call(object)==="[object Function]"||this.isIE&&typeof object!="string"&&reFunction.test(""+object)
2240 },pointsToPixels:function(name,value,returnFloat){var axis=/Top$|Bottom$/.test(name)?"y":"x";
2347 if(/access/i.test(msg)){if(isChromeFrame){body.removeChild(node)
3011 return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];
3060 if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)
3062 }if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");
3158 }}}else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){var ret=Sizzle.find(parts.shift(),context,contextXML);
3232 }},relative:{"+":function(checkSet,part,isXML){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;
3239 if(isPartStr&&!/\W/.test(part)){part=isXML?part:part.toUpperCase();
3251 if(!/\W/.test(part)){var nodeCheck=part=isXML?part:part.toUpperCase();
3255 if(typeof part==="string"&&!/\W/.test(part)){var nodeCheck=part=isXML?part:part.toUpperCase();
3277 },CHILD:function(match){if(match[1]=="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]=="even"&&"2n"||match[2]=="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);
3278 match[2]=(test[1]+(test[2]||1))-0;
3279 match[3]=test[3]-0
3286 },PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if((chunker.exec(match[3])||"").length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop)
3290 }}else{if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true
3302 },header:function(elem){return/h\d/i.test(elem.nodeName)
3312 },input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName)
3436 div.innerHTML="<div class='test e'></div><div class='test'></div>";
3525 if(id&&/^fbOutline\w$/.test(id)){return
3533 if(id&&/^fbOutline\w$/.test(id)){return
3549 if(id&&/^fbOutline\w$/.test(id)){return
5091 var isIE6=/msie 6/i.test(navigator.appVersion);
6370 }if(reOpenBracket.test(c)){if(bracketCount){--bracketCount
6372 }}else{if(reCloseBracket.test(c)){++bracketCount
6562 while(targ&&!found){if(!/\snodeBox\s|\sobjectBox-selector\s/.test(" "+targ.className+" ")){targ=targ.parentNode
6573 }if(!/\snodeBox\s|\sobjectBox-selector\s/.test(" "+targ.className+" ")){return
6921 source=source.replace(/url\(([^\)]+)\)/g,function(a,name){var hasDomain=/\w+:\/\/./.test(name);
6929 while(reBack.test(path)){path=path.replace(reBack,"")
7293 }else{if(object instanceof SourceLink&&object.type=="css"&&reCSS.test(object.href)){return 2
7381 i++){if(scanRE.test(styleSheet.cssRules[i].cssText)){return true
7754 if(reProtocol.test(script.src)){path=rePath.exec(script.src)[1]
7764 }else{if(src.indexOf("/")!=-1){if(/^\.\/./.test(src)){path+=src.substring(2)
7765 }else{if(/^\/./.test(src)){var domain=/^(\w+:\/\/[^\/]+)/.exec(path);