Fix rendering on firefox

Rendering on firefox was broken due to the difference in time when DOM
loads - without deferReadiness it was sometimes failing to add
ember-application element to body
This commit is contained in:
Piotr Sarnacki 2013-08-27 15:54:22 +02:00
parent da7cb6f4b0
commit c0397ae5d4

View File

@ -64,6 +64,9 @@ window.Travis = TravisApplication.create(
LOG_TRANSITIONS: true
)
unless window.testMode
Travis.deferReadiness()
$.extend Travis,
run: ->
Travis.advanceReadiness() # bc, remove once merged to master