4b9daaaf by Adam Heath

Revert the collection event forwarding during get.

This is actually handled during the observe phase, via sightglass.

This reverts commit cd003e69.
1 parent e4019f28
......@@ -37,19 +37,7 @@ define(function(require) {
} else {
return;
}
var value = obj.get(keypath);
if (value instanceof Collection) {
var listener = function() {
var currentValue = obj.get(keypath);
if (value !== currentValue) {
obj.stopListening(value, collectionEvents, listener);
return;
}
obj.trigger('change:' + keypath, obj, currentValue);
};
obj.listenTo(value, collectionEvents, listener);
}
return value;
return obj.get(keypath);
},
set: function set(obj, keypath, value) {
if (obj instanceof Model) {
......