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

Static init vs prototype init

$
0
0
I have recently started working with CanJS. While I was going through the documentation I learned that CanJS uses static init and prototype init. What is not clear for me is that the purpose of static init. What is it used for? Can we initialize prototype properties with it? If so what makes it different from prototype init? When do we use prototype init and static init?

Thanks

Viewing all articles
Browse latest Browse all 3491

Trending Articles