import Ember from 'ember';

export default {
  name: 'ember-sanitize-setup-sanitizers',

  initialize: function(container) {
    container.registerOptionsForType('sanitizer', { instantiate: false });
  }
};

import Ember from 'ember';

export default {
  name: 'ember-sanitize-setup-sanitizers',

  initialize: function(container) {
    if (container.registerOptionsForType) {
      container.registerOptionsForType('sanitizer', { instantiate: false });
    } else {
      // Ember < 2
      container.optionsForType('sanitizer', { instantiate: false });
    }
  }
};

use correct container method for 1.13.11