
The previous initializer API was deprecated in Ember 2.1 (See http://emberjs.com/deprecations/v2.x/), so this updates the initializer signatures to accomodate that change. Also, remove the registered deprecation from the workflow.
22 lines
559 B
JavaScript
22 lines
559 B
JavaScript
// Generated by CoffeeScript 1.10.0
|
|
import TestAuth from 'travis/utils/test-auth';
|
|
var AuthInitializer, initialize;
|
|
|
|
initialize = function(app) {
|
|
app.inject('route', 'auth', 'service:auth');
|
|
app.inject('controller', 'auth', 'service:auth');
|
|
app.inject('application', 'auth', 'service:auth');
|
|
app.inject('component', 'auth', 'service:auth');
|
|
return app.inject('service:flashes', 'auth', 'service:auth');
|
|
};
|
|
|
|
AuthInitializer = {
|
|
name: 'auth',
|
|
after: 'ember-data',
|
|
initialize: initialize
|
|
};
|
|
|
|
export {initialize};
|
|
|
|
export default AuthInitializer;
|