mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 04:47:29 +08:00
Use ES6 arrow functions instead.
This commit is contained in:
@ -231,7 +231,7 @@ class PluginApi {
|
||||
* Example:
|
||||
*
|
||||
* ```
|
||||
* api.addToolbarPopupMenuOptionsCallback(function() {
|
||||
* api.addToolbarPopupMenuOptionsCallback(() => {
|
||||
* return {
|
||||
* action: 'toggleWhisper',
|
||||
* icon: 'eye-slash',
|
||||
|
Reference in New Issue
Block a user