examples/HTML StarterKit/lib/durandal/js/binder.js
function(bindingContext, view, obj) {
            if (obj && bindingContext) {
                bindingContext = bindingContext.createChildContext(obj);
            }

            return doBind(obj, view, bindingContext, obj || (bindingContext ? bindingContext.$data : null));
        }
function(bindingContext, view, obj) {
            if (obj && bindingContext) {
                bindingContext = bindingContext.createChildContext(obj);
            }

            return doBind(obj, view, bindingContext, obj || (bindingContext ? bindingContext.$data : null));
        }
function ( bindingContext , view , obj ) { if ( obj && bindingContext ) { bindingContext = bindingContext . createChildContext ( obj ) ; } return doBind ( obj , view , bindingContext , obj || ( bindingContext ? bindingContext . $data : null ) ) ; }
Binds the view, preserving the existing binding context. Optionally, a new context can be created, parented to the previous context.
@method bindContext
@param {KnockoutBindingContext} bindingContext The current binding context.
@param {DOMElement} view The view to bind.
@param {object} [obj] The data to bind to, causing the creation of a child binding context if present.
Binds the view preserving the existing binding context . Optionally a new context can be created parented to the previous context .