mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
Revert "Revert Ember.run refactors"
This reverts commit fcb1ca52f96bdff1a49d558a4ffb18107d8334de.
This commit is contained in:
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user