Afshin Darian 8 年之前
父节点
当前提交
4700521ab7
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/completer/widget.ts
  2. 1 1
      src/notebook/notebook/widget.ts
  3. 1 1
      src/toolbar/index.ts

+ 1 - 1
src/completer/widget.ts

@@ -195,7 +195,7 @@ class CompleterWidget extends Widget {
   }
 
   /**
-   * Handle `after_attach` messages for the widget.
+   * Handle `after-attach` messages for the widget.
    */
   protected onAfterAttach(msg: Message): void {
     document.addEventListener('keydown', this, USE_CAPTURE);

+ 1 - 1
src/notebook/notebook/widget.ts

@@ -821,7 +821,7 @@ class Notebook extends StaticNotebook {
   }
 
   /**
-   * Handle `after_attach` messages for the widget.
+   * Handle `after-attach` messages for the widget.
    */
   protected onAfterAttach(msg: Message): void {
     super.onAfterAttach(msg);

+ 1 - 1
src/toolbar/index.ts

@@ -189,7 +189,7 @@ class ToolbarButton extends Widget {
   }
 
   /**
-   * Handle `after_attach` messages for the widget.
+   * Handle `after-attach` messages for the widget.
    */
   protected onAfterAttach(msg: Message): void {
     this.node.addEventListener('click', this);