mike-north/ember-perf

View on GitHub
addon/ext/route.js

Summary

Maintainability
A
0 mins
Test Coverage
import Mixin from '@ember/object/mixin';

export default Mixin.create({
  activate() {
    this.get('perfService').routeActivated(this);
    this._super(...arguments);
  },

  renderTemplate() {
    this.get('perfService').routeWillRender(this);
    this._super(...arguments);
  }
});