Improved wording.
This commit is contained in:
parent
c8ef769829
commit
366a0b32e3
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ class App.ControllerForm extends App.Controller
|
||||||
# Previously the handlers are called directly, before the DOM elements are ready, thereby causing a race condition under IE11.
|
# Previously the handlers are called directly, before the DOM elements are ready, thereby causing a race condition under IE11.
|
||||||
# Now we only dispatch the handlers after the DOM is ready.
|
# Now we only dispatch the handlers after the DOM is ready.
|
||||||
if @handlers.length
|
if @handlers.length
|
||||||
$(@dispatch_handlers)
|
$(@dispatchHandlers)
|
||||||
|
|
||||||
# if element is given, prepend form to it
|
# if element is given, prepend form to it
|
||||||
if @el
|
if @el
|
||||||
|
@ -57,7 +57,7 @@ class App.ControllerForm extends App.Controller
|
||||||
@finishForm = true
|
@finishForm = true
|
||||||
@form
|
@form
|
||||||
|
|
||||||
dispatch_handlers: =>
|
dispatchHandlers: =>
|
||||||
params = App.ControllerForm.params(@form)
|
params = App.ControllerForm.params(@form)
|
||||||
for attribute in @attributes
|
for attribute in @attributes
|
||||||
for handler in @handlers
|
for handler in @handlers
|
||||||
|
|
Loading…
Reference in a new issue