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:
Piotr Sarnacki 2013-02-28 15:59:49 +01:00
parent c6d1f4fa59
commit d2d341ac9a
2 changed files with 4 additions and 1 deletions

View File

@ -79,6 +79,9 @@ window.Travis = Em.Application.extend(Ember.Evented,
Travis.deferReadiness()
$.extend Travis,
run: ->
Travis.advanceReadiness() # bc, remove once merged to master
config:
api_endpoint: $('meta[rel="travis.api_endpoint"]').attr('href')
pusher_key: $('meta[name="travis.pusher_key"]').attr('value')

View File

@ -16,7 +16,7 @@
<script src="/scripts/app.js"></script>
<script>
minispade.require('travis')
Travis.advanceReadiness()
Travis.run()
</script>
</head>
<body id="home"></body>