Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Mustach question

$
0
0
In mustache any Observeable property passed to a helper will be turned into a can.compute. So itemId inside your helper is actually a function and so when your concatenate that with 'Item Name' you get the string representation of the function.

So what you want to do is use itemId()

Viewing all articles
Browse latest Browse all 3491

Trending Articles