knockout/knockout — pull request #1289 by mbest (2014-02-04 20:10:22+00:00)
Title: addDisposeCallback to "not nodes"

https://github.com/knockout/knockout/blob/master/src/subscribables/dependentObservable.js#L231

Can not applied to not-nodes... call from this line:
https://github.com/knockout/knockout/blob/master/src/binding/bindingAttributeSyntax.js#L75

before applying need to be validated, like
``` if (disposeWhenNodeIsRemoved.nodeType) ```