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

Re : Dealing with subclasses

$
0
0
Thanks for the suggestions. I like the idea of overwriting the models method, but I've decided to go down the safe route to avoid unforeseen issues with doing anything too fancy, I've decided to scrap the sub classes and just attach a "config" object to each model instance based on their type.



Viewing all articles
Browse latest Browse all 3491

Trending Articles