mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
REFACTOR: Remove debounce
to discourseDebounce
Otherwise it can be confused with the ember debounce
This commit is contained in:
@ -6,7 +6,7 @@ import { propertyNotEqual } from "discourse/lib/computed";
|
||||
import loadScript from "discourse/lib/load-script";
|
||||
import { default as computed } from "ember-addons/ember-computed-decorators";
|
||||
import { cookAsync } from "discourse/lib/text";
|
||||
import debounce from "discourse/lib/debounce";
|
||||
import discourseDebounce from "discourse/lib/debounce";
|
||||
|
||||
export default Component.extend({
|
||||
timeFormat: "HH:mm:ss",
|
||||
@ -51,7 +51,7 @@ export default Component.extend({
|
||||
});
|
||||
},
|
||||
|
||||
_renderPreview: debounce(function() {
|
||||
_renderPreview: discourseDebounce(function() {
|
||||
const markup = this.markup;
|
||||
|
||||
if (markup) {
|
||||
|
Reference in New Issue
Block a user