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

Re : Model inheritance and parseModel functionality

$
0
0
I think this is a bug.  Can you create an issue.  A temporary work around is to define the CRUD methods again in ConcreteQuestion.  Maybe something like:

var CRUD = {

      create: function(...) {..},

parseModel: function(...) {...}

}

var QuestionModel = can.Model. extend(CRUD,{});

var ConcreteQuestion = can.Model.extend(CRUD,{});


Viewing all articles
Browse latest Browse all 3491

Trending Articles