examples/vendor/knockback-core-stack-0.16.7.js
function(bindingsString, bindingContext) {
            try {
                var viewModel = bindingContext['$data'],
                    scopes = (typeof viewModel == 'object' && viewModel != null) ? [viewModel, bindingContext] : [bindingContext],
                    bindingFunction = createBindingsStringEvaluatorViaCache(bindingsString, scopes.length, this.bindingCache);
                return bindingFunction(scopes);
            } catch (ex) {
                throw new Error("Unable to parse bindings.\nMessage: " + ex + ";\nBindings value: " + bindingsString);
            }
        }
function(bindingsString, bindingContext) {
            try {
                var viewModel = bindingContext['$data'],
                    scopes = (typeof viewModel == 'object' && viewModel != null) ? [viewModel, bindingContext] : [bindingContext],
                    bindingFunction = createBindingsStringEvaluatorViaCache(bindingsString, scopes.length, this.bindingCache);
                return bindingFunction(scopes);
            } catch (ex) {
                throw new Error("Unable to parse bindings.\nMessage: " + ex + ";\nBindings value: " + bindingsString);
            }
        }
function ( bindingsString , bindingContext ) { try { var viewModel = bindingContext [ '$data' ] , scopes = ( typeof viewModel == 'object' && viewModel != null ) ? [ viewModel , bindingContext ] : [ bindingContext ] , bindingFunction = createBindingsStringEvaluatorViaCache ( bindingsString , scopes . length , this . bindingCache ) ; return bindingFunction ( scopes ) ; } catch ( ex ) { throw new Error ( "Unable to parse bindings.\nMessage: " + ex + ";\nBindings value: " + bindingsString ) ; } }
The following function is only used internally by this default provider. It's not part of the interface definition for a general binding provider.
The following function is only used internally by this default provider . It s not part of the interface definition for a general binding provider .