SteveSanderson/knockout — Issue #341: subscriptions can add dependencies to computed
Author: mbest
Created: 2012-02-23 23:04:57+00:00
State: open

The `beforeChange` subscriptions are run within a computed's dependency block. Thus any observables that they access become subscriptions of the computed observable.

Here is a fiddle to demonstrate: http://jsfiddle.net/mbest/RdFYC/1/

`change` subscriptions can also cause subscriptions, but it's a little more complicated:

http://jsfiddle.net/mbest/f7YtZ/