I think some whitespace would improve readability here as well

`var protocols = Ext.isString(values) ? values.split('\n') : values;`