mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
SEMICOLONS ;.;
This commit is contained in:
@ -347,7 +347,7 @@ class PluginApi {
|
|||||||
* and returns a hash of attrs to pass to the widget
|
* and returns a hash of attrs to pass to the widget
|
||||||
**/
|
**/
|
||||||
addHeaderPanel(name, toggle, attrFn) {
|
addHeaderPanel(name, toggle, attrFn) {
|
||||||
queryRegistry('header').prototype.attachAdditionalPanel(name, toggle, attrFn)
|
queryRegistry('header').prototype.attachAdditionalPanel(name, toggle, attrFn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -187,7 +187,7 @@ export default createWidget('header', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
attachAdditionalPanel(name, toggle, attrFn) {
|
attachAdditionalPanel(name, toggle, attrFn) {
|
||||||
this.additionalPanels.push({ name, toggle, attrFn })
|
this.additionalPanels.push({ name, toggle, attrFn });
|
||||||
},
|
},
|
||||||
|
|
||||||
html(attrs, state) {
|
html(attrs, state) {
|
||||||
|
Reference in New Issue
Block a user