SteveSanderson/knockout — Issue #361: if $data is unchanged in child context, so should $parent
Author: mbest
Created: 2012-03-07 01:36:50+00:00
State: open

With #290, we introduced the idea that a child binding context could have the same `$data` value as its parent using the `bindingContext.extend` method. I had originally proposed that the new context not be a child context, but with the addition of `$parentContext`, I can see that it's useful to have access to the previous context object. On the other hand, it's confusing to have useless `$parent` and `$parent[0]` pointers, which will just be the same as `$data`.