Javascript Knockout Attr Data Bindings With Function Throws Error

Javascript Knockout Attr Data Bindings With Function Throws Error