Remove explicit type from Task snippet in the YAML template

Change-Id: I467f505605e86de908915bf583a87269bbf528f6
Closes-Bug: #1449463
This commit is contained in:
Timur Sufiev 2015-06-12 10:36:54 -07:00
parent 515eaf0892
commit 30c615bf9b
1 changed files with 5 additions and 0 deletions

View File

@ -196,6 +196,11 @@
remove: function() {
this.emit('change', 'taskRemove', this.getID());
},
_getPrettyJSON: function() {
var json = fields.frozendict._getPrettyJSON.apply(this, arguments);
delete json.type;
return json;
}
}, {
'@meta': {
'baseKey': 'task',