cancel
Showing results for 
Search instead for 
Did you mean: 

using abstract controller

Former Member
0 Kudos

HI

I've this very simple MVC code and my question is weather there is a  way to create abstract

controller which will have all the code of the current controller and then use it from abstract by inheritance (maybe by prototype)

Regards,

Miley

http://jsbin.com/hojuquzoti/2/edit?html,js,output

Accepted Solutions (1)

Accepted Solutions (1)

former_member183518
Active Participant
0 Kudos

You can extend the controller using the extend() method to achieve it. Simple example for extending a controller JS Bin - Collaborative JavaScript Debugging

Answers (0)