diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/model/types.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/model/types.js b/src/client/model/types.js index ac10f374..bb534d00 100644 --- a/src/client/model/types.js +++ b/src/client/model/types.js @@ -15,9 +15,7 @@ if (undefined === type_attributes['_defaults']) { } _.pluck(_.values(type_attributes), 'attributes').map(function (attributes) { - attributes.push('name'); - attributes.push('type'); - attributes.sort(); + attributes.splice(0, 0, 'name', 'type'); }); all_attributes = _.union(_.flatten(_.pluck(_.values(type_attributes), 'attributes'))).sort(); |
