js/core/Binding.js
function () {
            // get value
            var val = this.getContextValue();

            var target,
                targets = this.$.root.getTargets();
            if (targets) {
                for (var i = 0; i < targets.length; i++) {
                    target = targets[i];
                    if (target.key instanceof Function) {
                        target.key.call(target.scope, val, this);
                    } else {
                        target.scope.set(target.key, val);
                    }
                }
            }

        }
function () {
            // get value
            var val = this.getContextValue();

            var target,
                targets = this.$.root.getTargets();
            if (targets) {
                for (var i = 0; i < targets.length; i++) {
                    target = targets[i];
                    if (target.key instanceof Function) {
                        target.key.call(target.scope, val, this);
                    } else {
                        target.scope.set(target.key, val);
                    }
                }
            }

        }
function ( ) { // get value var val = this . getContextValue ( ) ; var target , targets = this . $ . root . getTargets ( ) ; if ( targets ) { for ( var i = 0 ; i < targets . length ; i ++ ) { target = targets [ i ] ; if ( target . key instanceof Function ) { target . key . call ( target . scope , val , this ) ; } else { target . scope . set ( target . key , val ) ; } } } }
This method triggers the binding and syncs the target with the scope
This method triggers the binding and syncs the target with the scope