} else if (r[k] instanceof enyo.Collection||r[k] instanceof enyo.Model) {
instead?raw: function () { var i = this.includeKeys, a = this.attributes, r = i? enyo.only(i, a): enyo.clone(a); for (var k in r) { if ("function" == typeof r[k]) { r[k] = r[k].call(this); // } else if (r[k] instanceof enyo.Collection) { //changed above line to: } else if (r[k] instanceof enyo.Collection||r[k] instanceof enyo.Model) { r[k] = r[k].raw(); } } return r; },
It looks like you're new here. If you want to get involved, click one of these buttons!