소스 검색

Remove the activated signal from console panels.

Afshin Darian 8 년 전
부모
커밋
2a64952ce4
1개의 변경된 파일0개의 추가작업 그리고 14개의 파일을 삭제
  1. 0 14
      src/console/panel.ts

+ 0 - 14
src/console/panel.ts

@@ -9,10 +9,6 @@ import {
   Message
 } from 'phosphor/lib/core/messaging';
 
-import {
-  defineSignal, ISignal
-} from 'phosphor/lib/core/signaling';
-
 import {
   Panel
 } from 'phosphor/lib/ui/panel';
@@ -57,11 +53,6 @@ class ConsolePanel extends Panel {
     this.addWidget(this._content);
   }
 
-  /**
-   * A signal emitted when the console panel has been activated.
-   */
-  activated: ISignal<ConsolePanel, void>;
-
   /**
    * The console widget used by the panel.
    *
@@ -92,7 +83,6 @@ class ConsolePanel extends Panel {
    */
   protected onActivateRequest(msg: Message): void {
     this.content.activate();
-    this.activated.emit(void 0);
   }
 
   /**
@@ -125,10 +115,6 @@ class ConsolePanel extends Panel {
 }
 
 
-// Define the signals for the `ConsolePanel` class.
-defineSignal(ConsolePanel.prototype, 'activated');
-
-
 /**
  * A namespace for ConsolePanel statics.
  */