mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 20:33:38 +08:00
apply prettier on plugins (#7605)
This commit is contained in:
parent
d93f753b17
commit
b98b994fe7
|
@ -92,8 +92,7 @@ export default Ember.Component.extend({
|
||||||
this.messageBus.subscribe(
|
this.messageBus.subscribe(
|
||||||
r.messagebus_channel,
|
r.messagebus_channel,
|
||||||
message => {
|
message => {
|
||||||
if (!this.isDestroyed)
|
if (!this.isDestroyed) this.set("presenceUsers", message.users);
|
||||||
this.set("presenceUsers", message.users);
|
|
||||||
this._clearTimer = Ember.run.debounce(
|
this._clearTimer = Ember.run.debounce(
|
||||||
this,
|
this,
|
||||||
"clear",
|
"clear",
|
||||||
|
|
|
@ -21,10 +21,7 @@ function initializePollUIBuilder(api) {
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
showPollBuilder() {
|
showPollBuilder() {
|
||||||
showModal("poll-ui-builder").set(
|
showModal("poll-ui-builder").set("toolbarEvent", this.toolbarEvent);
|
||||||
"toolbarEvent",
|
|
||||||
this.toolbarEvent
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user