Start Travis with bootstrapTravis function
This commit is contained in:
parent
afb6bd1950
commit
4e29faaa03
|
@ -1,6 +1,9 @@
|
||||||
require 'ext/jquery'
|
require 'ext/jquery'
|
||||||
require 'ext/ember/namespace'
|
require 'ext/ember/namespace'
|
||||||
|
|
||||||
|
window.bootstrapTravis = ->
|
||||||
|
Travis.run()
|
||||||
|
|
||||||
if window.history.state == undefined
|
if window.history.state == undefined
|
||||||
window.history.state = {}
|
window.history.state = {}
|
||||||
oldPushState = window.history.pushState
|
oldPushState = window.history.pushState
|
||||||
|
|
|
@ -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.run()
|
bootstrapTravis()
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body id="home"></body>
|
<body id="home"></body>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user