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

Re : how to add functions on can.Map

$
0
0
What do you mean exactly?

You add a function exactly like you wrote it if you want a function on the prototype that you can call like:

m.speak();

Are you wanting to add a function as an attribute value?  Why?



Viewing all articles
Browse latest Browse all 3491

Trending Articles