Add app initializers which sets window.Travis

We still use Travis in some places in the app and Travis var is not set when
using ember build. The initializer added in this commit sets it to the current
app instance
This commit is contained in:
Piotr Sarnacki 2015-02-03 12:09:17 +01:00
parent 41d406bb19
commit 0dba0fdad5

View File

@ -0,0 +1,10 @@
initialize = (container, app) ->
if typeof window != 'undefined'
window.Travis = app
Initializer =
name: 'app'
initialize: initialize
`export {initialize}`
`export default Initializer`