View Single Post
Old 02-02-2013, 12:54 PM   PM User | #4
Dormilich
Senior Coder

 
Dormilich's Avatar
 
Join Date: Jan 2010
Location: Behind the Wall
Posts: 2,857
Thanks: 9
Thanked 288 Times in 284 Posts
Dormilich is on a distinguished road
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).
__________________
please post your code wrapped in [CODE] [/CODE] tags
Dormilich is offline   Reply With Quote