Lines Matching defs:hasClass

759 this.hasClass=function(node,name){if(arguments.length==2){return(" "+node.className+" ").indexOf(" "+name+" ")!=-1
813 child=child.nextSibling){if(this.hasClass(child,className)){node=child;
819 parent=parent.parentNode){if(this.hasClass(parent,className)){return parent
825 child=child.nextSibling){if(this.hasClass(child,className)){result.push(child)
834 if(FBL.hasClass.apply(null,args1)){return child
890 this.getNextByClass=function(root,state){var iter=function iter(node){return node.nodeType==1&&FBL.hasClass(node,state)
894 this.getPreviousByClass=function(root,state){var iter=function iter(node){return node.nodeType==1&&FBL.hasClass(node,state)
1562 child=child.parentNode){if(hasClass(child,"repTarget")){target=child
1563 }if(child.repObject){if(!target&&hasClass(child,"repIgnore")){break
2013 if(!target||hasClass(target,"fbMenuGroup")){return false
2014 }if(target&&!hasClass(target,"fbMenuDisabled")){var type=target.getAttribute("type");
2017 var wasChecked=hasClass(target,"fbMenuChecked");
2054 }}if(hasClass(target,"fbMenuGroup")){this.showChildMenu(target)
2499 }else{if(!hasClass(target,"textEditorInner")){Firebug.Editor.stopEditing()
4503 if(hasClass(event.target,"errorBreak")){this.breakOnThisError(target.repObject)
4504 }else{if(hasClass(event.target,"errorSource")){var panel=Firebug.getElementPanel(event.target);
4506 }else{if(hasClass(event.target,"errorTitle")){var traceBox=target.childNodes[1];
4508 event.target.setAttribute("aria-checked",hasClass(target,"opened"));
4509 if(hasClass(target,"opened")){if(target.stackTrace){var node=FirebugReps.StackTrace.tag.append({object:target.stackTrace},traceBox)
4573 if(hasClass(target,"insertBefore")||hasClass(target,"insertAfter")){return
4642 }else{if(hasClass(element,"insertBefore")){this.insertRow(element,"before")
4643 }else{if(hasClass(element,"insertAfter")){this.insertRow(element,"after")
4664 }var editable=hasClass(currentGroup,"editable")?currentGroup:getNextByClass(currentGroup,"editable");
4746 if(hasClass(parent,"textEditorInner2")){var yDiff=this.textSize.height-this.shadowExpand;
4967 var isGroupInsert=function isGroupInsert(next,group){return(!group||isAncestor(next,group))&&(hasClass(next,"insertBefore")||hasClass(next,"insertAfter"))
5189 if(hasClass(tab,"netInfoParamsTab")){if(file.urlParams&&!netInfoBox.urlParamsPresented){netInfoBox.urlParamsPresented=true;
5191 }}else{if(hasClass(tab,"netInfoHeadersTab")){var headersText=$$(".netInfoHeadersText",netInfoBox)[0];
5196 }}else{if(hasClass(tab,"netInfoPostTab")){if(!netInfoBox.postPresented){netInfoBox.postPresented=true;
5199 }}else{if(hasClass(tab,"netInfoPutTab")){if(!netInfoBox.putPresented){netInfoBox.putPresented=true;
5202 }}else{if(hasClass(tab,"netInfoResponseTab")&&file.loaded&&!netInfoBox.responsePresented){var responseTextBox=$$(".netInfoResponseText",netInfoBox)[0];
5209 }}else{if(hasClass(tab,"netInfoCacheTab")&&file.loaded&&!netInfoBox.cachePresented){var responseTextBox=netInfoBox.getElementsByClassName("netInfoCacheText").item(0);
5212 }}else{if(hasClass(tab,"netInfoHtmlTab")&&file.loaded&&!netInfoBox.htmlPresented){netInfoBox.htmlPresented=true;
5477 if(hasClass(logRow,"opened")){updateHttpSpyInfo(spy,logRow);
5507 }if(!spy.logRow||!hasClass(spy.logRow,"opened")){return
5549 if(!hasClass(tab,"netInfoJSONTab")||tabBody.updated){return
5572 if(!hasClass(tab,"netInfoXMLTab")||tabBody.updated){return
5763 if(hasClass(groupRow,"opened")){removeClass(groupRow,"opened");
5780 }if(hasClass(object,"objectLink-object")){Firebug.chrome.selectPanel("DOM");
5782 }else{if(hasClass(object,"objectLink-element")){Firebug.chrome.selectPanel("HTML");
6552 }if(hasClass(targ,"fbPanel")){FBL.Firebug.Inspector.hideBoxModel();
7229 if(hasClass(row,"disabledStyle")){Firebug.CSSModule.removeProperty(rule,propName);
7238 if(hasClass(target,"textEditor")){return
7240 if(row&&hasClass(row,"editGroup")){this.disablePropertyRow(row);
7245 if(hasClass(target,"textEditorInner")){return
7329 if(cssRule&&hasClass(cssRule,"cssEditableRule")){items.push("-",{label:"NewProp",command:bindFixed(this.insertPropertyRow,this,target)});
7332 var isDisabled=hasClass(propRow,"disabledStyle");
7362 },getEditor:function(target,value){if(target==this.panelNode||hasClass(target,"cssSelector")||hasClass(target,"cssRule")||hasClass(target,"cssSheet")){if(!this.ruleEditor){this.ruleEditor=new CSSRuleEditor(this.document)
7522 if(hasClass(row,"disabledStyle")){toggleClass(row,"disabledStyle")
7524 if(hasClass(target,"cssPropName")){if(value&&previousValue!=value){var propValue=getChildByClass(row,"cssPropValue")[textContent];
7537 },advanceToNext:function(target,charCode){if(charCode==58&&hasClass(target,"cssPropName")){return true
7538 }},getAutoCompleteRange:function(value,offset){if(hasClass(this.target,"cssPropName")){return{start:0,end:value.length-1}
7540 }},getAutoCompleteList:function(preExpr,expr,postExpr){if(hasClass(this.target,"cssPropName")){return getCSSPropertyNames()
7569 if(!hasClass(propEl,"disabledStyle")){cssText.push(getChildByClass(propEl,"cssPropName")[textContent]);
7791 if(label&&hasClass(row,"hasChildren")){var row=label.parentNode.parentNode;
7804 if(hasClass(row,"opened")){removeClass(row,"opened");
8008 if(hasClass(valueBox,"objectBox-array")){var arrayIndex=FirebugReps.Arr.getItemIndex(target);
8097 row&&hasClass(row,"watchRow");
8132 if(hasClass(valueBox,"objectBox-array")){var arrayIndex=FirebugReps.Arr.getItemIndex(target);