mirror of
https://github.com/discourse/discourse.git
synced 2025-06-17 15:32:36 +08:00
Revert Ember.run refactors
This reverts commit 5ca60fcb6b592524086f98279d3e4fd949598343.
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import { scheduleOnce } from "@ember/runloop";
|
||||
// Ember 2.0 removes buffered rendering, but we can still implement it ourselves.
|
||||
// In the long term we'll want to remove this.
|
||||
|
||||
@ -14,7 +13,7 @@ const Mixin = {
|
||||
},
|
||||
|
||||
rerenderBuffer() {
|
||||
scheduleOnce("render", this, this._customRender);
|
||||
Ember.run.scheduleOnce("render", this, this._customRender);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user