Searched refs:protoObj (Results 1 – 1 of 1) sorted by relevance
186 function modifyProtoFields(protoObj, displayDefaults) { argument187 if (!protoObj || protoObj !== Object(protoObj) || !protoObj.$type) {190 for (var fieldName in protoObj.$type.fields) {191 var fieldProperties = protoObj.$type.fields[fieldName];192 var field = protoObj[fieldName];202 protoObj[fieldName] = fieldProperties.defaultValue;206 fill_transform_data(protoObj[fieldName]);211 protoObj[fieldName] = fieldProperties.resolvedType.valuesById[protoObj[fieldProperties.name]];214 modifyProtoFields(protoObj[fieldName], displayDefaults);