import config from '../config/environment';

export function initialize(_container, application) {
  const { emberAnchor } = config;
  application.register('config:ember-anchor', emberAnchor, { instantiate: false });
}

export default {
  name: 'ember-anchor',
  initialize: initialize
};

import config from '../config/environment';

export function initialize() {
  const application = arguments[1] || arguments[0];
  const { emberAnchor } = config;
  application.register('config:ember-anchor', emberAnchor, { instantiate: false });
}

export default {
  name: 'ember-anchor',
  initialize: initialize
};

Reduce initializer arity to 0
Reduce initializer arity to 0
