Use ES6 arrow functions instead.

This commit is contained in:
Guo Xiang Tan
2016-06-16 18:05:15 +08:00
parent 93715b5952
commit 2484ef93ed
2 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ class PluginApi {
* Example:
*
* ```
* api.addToolbarPopupMenuOptionsCallback(function() {
* api.addToolbarPopupMenuOptionsCallback(() => {
* return {
* action: 'toggleWhisper',
* icon: 'eye-slash',