Revert "Remove run() method override, it breaks app loading"
It works correctly, it was probably some error in assets compilation.
This reverts commit 9ed6051041
.
This commit is contained in:
parent
c6d1f4fa59
commit
d2d341ac9a
|
@ -79,6 +79,9 @@ window.Travis = Em.Application.extend(Ember.Evented,
|
||||||
Travis.deferReadiness()
|
Travis.deferReadiness()
|
||||||
|
|
||||||
$.extend Travis,
|
$.extend Travis,
|
||||||
|
run: ->
|
||||||
|
Travis.advanceReadiness() # bc, remove once merged to master
|
||||||
|
|
||||||
config:
|
config:
|
||||||
api_endpoint: $('meta[rel="travis.api_endpoint"]').attr('href')
|
api_endpoint: $('meta[rel="travis.api_endpoint"]').attr('href')
|
||||||
pusher_key: $('meta[name="travis.pusher_key"]').attr('value')
|
pusher_key: $('meta[name="travis.pusher_key"]').attr('value')
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<script src="/scripts/app.js"></script>
|
<script src="/scripts/app.js"></script>
|
||||||
<script>
|
<script>
|
||||||
minispade.require('travis')
|
minispade.require('travis')
|
||||||
Travis.advanceReadiness()
|
Travis.run()
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body id="home"></body>
|
<body id="home"></body>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user