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

Re : CanJS CRUD example with a RESTful API backend - think-a-doo.net

$
0
0
Just couple of thoughts on things that you might not know about:

1) It seems that you didn't use EJS at all.

2) Code like:
  1. '.new click': function(){
  2.   this.newWine();
  3. },
can be replaced with: 
  1. '.new click': 'newWine'

 

Viewing all articles
Browse latest Browse all 3491

Trending Articles