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
|
class App.ControllerForm extends App.Controller
|
||||||
constructor: (params) ->
|
constructor: (params) ->
|
||||||
|
super
|
||||||
for key, value of params
|
for key, value of params
|
||||||
@[key] = value
|
@[key] = value
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ class App.ControllerTable extends App.Controller
|
||||||
'.js-tableHead': 'tableHead'
|
'.js-tableHead': 'tableHead'
|
||||||
|
|
||||||
constructor: (params) ->
|
constructor: (params) ->
|
||||||
|
super
|
||||||
for key, value of params
|
for key, value of params
|
||||||
@[key] = value
|
@[key] = value
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue