travis-web/app/initializers/app.coffee
Piotr Sarnacki 0dba0fdad5 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
2015-02-03 12:13:13 +01:00

11 lines
197 B
CoffeeScript

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