Start Travis with bootstrapTravis function

This commit is contained in:
Piotr Sarnacki 2013-02-26 12:21:17 +01:00
parent afb6bd1950
commit 4e29faaa03
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
require 'ext/jquery'
require 'ext/ember/namespace'
window.bootstrapTravis = ->
Travis.run()
if window.history.state == undefined
window.history.state = {}
oldPushState = window.history.pushState

View File

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