Quote:
Code:
this.isFollowing = ko.observable(@Model.IsFollowing.ToString().ToLower());
|
which language is that? and what part thereof is JS?
if the posted code is everything and ko is supposedly a JS object, you will get a TypeError (ko is null or not an object).