Added missing super in constructor.
This commit is contained in:
parent
d67bae2005
commit
45413b56b2
2 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
class App.ControllerForm extends App.Controller
|
||||
constructor: (params) ->
|
||||
super
|
||||
for key, value of params
|
||||
@[key] = value
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ class App.ControllerTable extends App.Controller
|
|||
'.js-tableHead': 'tableHead'
|
||||
|
||||
constructor: (params) ->
|
||||
super
|
||||
for key, value of params
|
||||
@[key] = value
|
||||
|
||||
|
|
Loading…
Reference in a new issue