How to use the ember-hifi/services/hifi.EVENT_MAP.forEach function in ember-hifi

To help you get started, we’ve selected a few ember-hifi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nypublicradio / ember-hifi / tests / dummy / app / components / event-display / component.js View on Github external
removeEvents: function(item) {
    EVENT_MAP.forEach(e => {
      item.off(e.event);
    });

    SERVICE_EVENT_MAP.forEach(e => {
      item.off(e.event);
    });
  },