浏览代码

Fix broken console example build.

A. Darian 8 年之前
父节点
当前提交
069f969ad8
共有 1 个文件被更改,包括 0 次插入21 次删除
  1. 0 21
      examples/console/src/index.ts

+ 0 - 21
examples/console/src/index.ts

@@ -114,22 +114,6 @@ function startApp(session: ISession) {
       text: 'Execute Prompt',
       text: 'Execute Prompt',
       shortcut: 'Shift Enter',
       shortcut: 'Shift Enter',
       handler: () => { consolePanel.content.execute(); }
       handler: () => { consolePanel.content.execute(); }
-    },
-    {
-      category: 'Console',
-      text: 'Toggle Inspector',
-      shortcut: 'Accel I',
-      handler: () => { consolePanel.toggleInspectors(); }
-    },
-    {
-      category: 'Console',
-      text: 'Position Inspector Vertically',
-      handler: () => { consolePanel.reorient('vertical'); }
-    },
-    {
-      category: 'Console',
-      text: 'Position Inspector Horizontally',
-      handler: () => { consolePanel.reorient('horizontal'); }
     }
     }
   ];
   ];
   pModel.addItems(items);
   pModel.addItems(items);
@@ -145,11 +129,6 @@ function startApp(session: ISession) {
       sequence: ['Shift Enter'],
       sequence: ['Shift Enter'],
       handler: () => { consolePanel.content.execute(); }
       handler: () => { consolePanel.content.execute(); }
     },
     },
-    {
-      selector: '.jp-ConsolePanel',
-      sequence: ['Accel I'],
-      handler: () => { consolePanel.toggleInspectors(); }
-    },
     {
     {
       selector: 'body',
       selector: 'body',
       sequence: ['Escape'],
       sequence: ['Escape'],