travis-web/app/initializers/services.js
Curtis Ekstrom 92896aa8e1 Remove initializer deprecation warnings
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.
2016-01-31 12:30:27 +01:00

20 lines
500 B
JavaScript

// Generated by CoffeeScript 1.10.0
import Tailing from 'travis/utils/tailing';
import ToTop from 'travis/utils/to-top';
import config from 'travis/config/environment';
var Initializer, initialize;
initialize = function(application) {
application.tailing = new Tailing($(window), '#tail', '#log');
return application.toTop = new ToTop($(window), '.to-top', '#log-container');
};
Initializer = {
name: 'services',
initialize: initialize
};
export {initialize};
export default Initializer;