export function initialize(container, application) {
  application.register('google:main', window.google, { instantiate: false });
  application.inject('component', 'google', 'google:main');
}

export default {
  name: 'register-google',
  initialize: initialize
};

export function initialize() {
  let application = arguments[1] || arguments[0];

  application.register('google:main', window.google, { instantiate: false });
  application.inject('component', 'google', 'google:main');
}

export default {
  name: 'register-google',
  initialize: initialize
};

Fix initializer arity deprecation in ember >2.1
Fix initializer arity deprecation in ember >2.1

Uses the backwards compatible fix as suggested by ember:
http://emberjs.com/deprecations/v2.x/#toc_initializer-arity
