Searched refs:protoObj (Results 1 – 1 of 1) sorted by relevance
217 function modifyProtoFields(protoObj, displayDefaults) { argument218 if (!protoObj || protoObj !== Object(protoObj) || !protoObj.$type) {221 for (var fieldName in protoObj.$type.fields) {222 var fieldProperties = protoObj.$type.fields[fieldName];223 var field = protoObj[fieldName];233 protoObj[fieldName] = fieldProperties.defaultValue;237 fill_transform_data(protoObj[fieldName]);242 protoObj[fieldName] = fieldProperties.resolvedType.valuesById[protoObj[fieldProperties.name]];245 modifyProtoFields(protoObj[fieldName], displayDefaults);