Lines Matching defs:props

1032 }var props={encodedContent:url.substr(point+1)};
1038 if(nv.length==2){props[nv[0]]=nv[1]
1039 }}if(props.hasOwnProperty("fileName")){var caller_URL=decodeURIComponent(props.fileName);
1041 if(props.hasOwnProperty("baseLineNumber")){props.path=caller_split.path;
1042 props.line=props.baseLineNumber;
1043 var hint=decodeURIComponent(props.encodedContent.substr(0,200)).replace(/\s*$/,"");
1044 props.name="eval->"+hint
1045 }else{props.name=caller_split.name;
1046 props.path=caller_split.path
1047 }}else{if(!props.hasOwnProperty("path")){props.path="data:"
1048 }if(!props.hasOwnProperty("name")){props.name=decodeURIComponent(props.encodedContent.substr(0,200)).replace(/\s*$/,"")
1049 }}return props
1286 }var props=[];
1293 }}}}}if(object){for(var n in object){props.push(n)
1294 }}return props;
1295 return extendArray(props,domMemberMap[name])
3744 this.props=oldTag?copyObject(oldTag.props):null;
3761 if(!this.props){this.props={}
3762 }this.props[propName]=val
3832 }}if(this.props){for(var name in this.props){readPartNames(this.props[name],topOuts)
3919 },generateDOM:function(path,blocks,args){if(this.listeners||this.props){this.generateNodePath(path,blocks)
3925 }}if(this.props){for(var name in this.props){var val=this.props[name];
4222 }var props=[];
4238 if(length<=maxLength){props.push({tag:tag,name:name,object:value,equal:"=",delim:", "});
4243 }}if(numProperties>numPropertiesShown){props.push({object:"...",tag:FirebugReps.Caption.tag,name:"",equal:"",delim:""})
4244 }else{if(props.length>0){props[props.length-1].delim=""
4245 }}}catch(exc){}return props
4248 }var props=[];
4259 if(count<=max){props.push({tag:tag,name:name,object:value,equal:"=",delim:", "})
4261 }}}if(count>max){props[Math.max(1,max-1)]={object:"more...",tag:FirebugReps.Caption.tag,name:"",equal:"",delim:""}
4262 }else{if(props.length>0){props[props.length-1].delim=""
4263 }}}catch(exc){}return props
7070 var CSSStyleRuleTag=domplate(CSSDomplateBase,{tag:DIV({"class":"cssRule insertInto",$cssEditableRule:"$rule|isEditable",$editGroup:"$rule|isSelectorEditable",_repObject:"$rule.rule",ruleId:"$rule.id",role:"presentation"},DIV({"class":"cssHead focusRow",role:"listitem"},SPAN({"class":"cssSelector",$editable:"$rule|isSelectorEditable"},"$rule.selector")," {"),DIV({role:"group"},DIV({"class":"cssPropertyListBox",role:"listbox"},FOR("prop","$rule.props",TAG(CSSPropTag.tag,{rule:"$rule",prop:"$prop"})))),DIV({"class":"editable insertBefore",role:"presentation"},"}"))});
7140 if(instanceOf(rule,"CSSStyleRule")){var props=this.getRuleProperties(context,rule);
7146 rules.push({tag:CSSStyleRuleTag.tag,rule:rule,id:ruleId,selector:selector,props:props,isSystemSheet:isSystemSheet,isSelectorEditable:true})
7153 },parseCSSProps:function(style,inheritMode){var props=[];
7156 this.addProperty(propName,style.getPropertyValue(propName),!!style.getPropertyPriority(propName),false,inheritMode,props)
7163 }if(m[2]){this.addProperty(m[1],m[2],!!m[3],false,inheritMode,props)
7164 }}}return props
7165 },getRuleProperties:function(context,rule,inheritMode){var props=this.parseCSSProps(rule.style,inheritMode);
7168 this.addOldProperties(context,ruleId,inheritMode,props);
7169 sortProperties(props);
7170 return props
7171 },addOldProperties:function(context,ruleId,inheritMode,props){if(context.selectorMap&&context.selectorMap.hasOwnProperty(ruleId)){var moreProps=context.selectorMap[ruleId];
7175 this.addProperty(prop.name,prop.value,prop.important,true,inheritMode,props)
7176 }}},addProperty:function(name,value,important,disabled,inheritMode,props){name=name.toLowerCase();
7182 props.push(prop)
7195 if(!styleRuleBox){var rule={rule:this.selection,inherited:false,selector:"element.style",props:[]};
7434 }var props=this.getRuleProperties(this.context,rule,inheritMode);
7435 if(inheritMode&&!props.length){continue
7439 this.markOverridenProps(props,usedProps,inheritMode);
7440 rules.splice(0,0,{rule:rule,id:ruleId,selector:ruleData.selector,sourceLink:sourceLink,props:props,inherited:inheritMode,isSystemSheet:isSystemSheet})
7443 }},markOverridenProps:function(props,usedProps,inheritMode){for(var i=0;
7444 i<props.length;
7445 ++i){var prop=props[i];
7455 }},getStyleProperties:function(element,rules,usedProps,inheritMode){var props=this.parseCSSProps(element.style,inheritMode);
7456 this.addOldProperties(this.context,getElementXPath(element),inheritMode,props);
7457 sortProperties(props);
7458 this.markOverridenProps(props,usedProps,inheritMode);
7459 if(props.length){rules.splice(0,0,{rule:element,id:getElementXPath(element),selector:"element.style",props:props,inherited:inheritMode})
7496 }}}function CSSComputedElementPanel(){}CSSComputedElementPanel.prototype=extend(CSSElementPanel.prototype,{template:domplate({computedTag:DIV({"class":"a11yCSSView",role:"list","aria-label":$STR("aria.labels.computed styles")},FOR("group","$groups",H1({"class":"cssInheritHeader groupHeader focusRow",role:"listitem"},SPAN({"class":"cssInheritLabel"},"$group.title")),TABLE({width:"100%",role:"group"},TBODY({role:"presentation"},FOR("prop","$group.props",TR({"class":"focusRow computedStyleRow",role:"listitem"},TD({"class":"stylePropName",role:"presentation"},"$prop.name"),TD({"class":"stylePropValue",role:"presentation"},"$prop.value")))))))}),updateComputedView:function(element){var win=isIE?element.ownerDocument.parentWindow:element.ownerDocument.defaultView;
7500 var group={title:title,props:[]};
7502 var props=styleGroups[groupName];
7504 i<props.length;
7505 ++i){var propName=props[i];
7509 if(propValue){group.props.push({name:propName,value:propValue})
7548 CSSRuleEditor.prototype=domplate(Firebug.InlineEditor.prototype,{insertNewRow:function(target,insertWhere){var emptyRule={selector:"",id:"",props:[],isSelectorEditable:true};
7565 var props=row.getElementsByClassName("cssProp");
7567 i<props.length;
7568 i++){var propEl=props[i];
7643 }}function findPropByName(props,name){for(var i=0;
7644 i<props.length;
7645 ++i){if(props[i].name==name){return i
7646 }}}function sortProperties(props){props.sort(function(a,b){return a.name>b.name?1:-1
8088 var addMember=function addMember(type,props,name,value,level,order){var rep=Firebug.getRep(value);
8093 props.push({name:name,value:value,type:type,rowClass:"memberRow-"+type,open:"",order:order,level:level,indent:level*16,hasChildren:hasChildren,tag:tag})