Browse Source

whitespace and comment cleanup

Jason Grout 9 năm trước cách đây
mục cha
commit
99ed2c7b7b
1 tập tin đã thay đổi với 6 bổ sung8 xóa
  1. 6 8
      src/notebook/plugin.ts

+ 6 - 8
src/notebook/plugin.ts

@@ -43,6 +43,7 @@ import {
 
 import './plugin.css';
 
+
 /**
  * Register the plugin contributions.
  *
@@ -63,6 +64,7 @@ function resolve(container: Container): Promise<IFileHandler> {
   });
 }
 
+
 export
 class SessionStoreMapping {
   constructor(services: IServicesProvider) {
@@ -71,6 +73,7 @@ class SessionStoreMapping {
   public services: IServicesProvider;
 }
 
+
 function messageToModel(msg: IKernelMessage) {
   let m: Output = msg.content;
   let type = msg.header.msg_type;
@@ -82,6 +85,7 @@ function messageToModel(msg: IKernelMessage) {
   return buildOutputModel(m);
 }
 
+
 function executeSelectedCell(model: NotebookModel, session: INotebookSession)  {
   let cell = model.cells.get(model.selectedCellIndex);
   if (isCodeCell(cell)) {
@@ -108,6 +112,7 @@ function executeSelectedCell(model: NotebookModel, session: INotebookSession)  {
   }
 }
 
+
 /**
  * An implementation of a file handler.
  */
@@ -204,6 +209,7 @@ class NotebookFileHandler extends AbstractFileHandler {
   session: INotebookSessionManager;
 }
 
+
 function makedata(a: IContentsModel): NBData {
   return {
     content: a.content,
@@ -211,11 +217,3 @@ function makedata(a: IContentsModel): NBData {
     path: a.path
   }
 }
-
-/**
- * Widgets:
- *   - write my own manager that inserts the widget element in a widget in the output area
- *   - maybe have a single widget panel at the top of the notebook for starters.
- *   - register with the comm manager of the kernel
- *   - 
- */