Home > unable to > error unable to parse bindings

Error Unable To Parse Bindings

Contents

here for a quick overview of the site Help Center Detailed answers to any questions you uncaught error unable to parse bindings might have Meta Discuss the workings and policies of this site

Unable To Parse Bindings Knockout Js

About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting

Unable To Parse Bindings Ko

ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7

Unable To Parse Bindings Is Not Defined

million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unable to parse bindings knockout error up vote 3 down vote favorite I am working with knockout and have run in to a problem I dont know how to fix. I retrieve a json object back from unable to parse bindings unexpected token an asp.net mvc controller. I pass it to the following function: load = function (data) { var myViewModel = function () { var self = this; ko.mapping.fromJS(data, self); self.hasItems = ko.computed(function () { return self.NumberOfItems > 0; }, self); }; ko.applyBindings(myViewModel, window.document.getElementById("my-container")); } I am adding custom behaviour to my model object based upon what is returned in the json, in particular the NumberOfItems property of the json. My markup is: