REFACTOR: Use imports for Ember.run

This commit is contained in:
Robin Ward
2019-10-29 14:52:36 -04:00
parent c7475ee03b
commit 5ca60fcb6b
151 changed files with 485 additions and 270 deletions

View File

@ -1,3 +1,4 @@
import { debounce } from "@ember/runloop";
import Controller from "@ember/controller";
import computed from "ember-addons/ember-computed-decorators";
const { get } = Ember;
@ -21,7 +22,7 @@ export default Controller.extend({
actions: {
filterReports(filter) {
Ember.run.debounce(this, this._performFiltering, filter, 250);
debounce(this, this._performFiltering, filter, 250);
}
},