Browse Source

Update examples

Steven Silvester 8 years ago
parent
commit
18ef896e65

+ 1 - 1
examples/console/package.json

@@ -9,7 +9,7 @@
     "watch": "watch \"npm run update && npm run build\" ../../src src --wait 10"
   },
   "dependencies": {
-    "@jupyterlab/services": "^0.22.0",
+    "@jupyterlab/services": "^0.24.0",
     "jupyterlab": "file:../..",
     "phosphor": "^0.6.0"
   },

+ 2 - 2
examples/console/src/index.ts

@@ -22,7 +22,7 @@ import {
 } from 'phosphor/lib/ui/widget';
 
 import {
-  ISession, Session
+  Session
 } from '@jupyterlab/services';
 
 import {
@@ -78,7 +78,7 @@ function main(): void {
 }
 
 
-function startApp(session: ISession) {
+function startApp(session: Session.ISession) {
   // Initialize the keymap manager with the bindings.
   let commands = new CommandRegistry();
   let keymap = new Keymap({ commands });

+ 1 - 1
examples/filebrowser/package.json

@@ -9,7 +9,7 @@
     "watch": "watch \"npm run update && npm run build\" ../../src src --wait 10"
   },
   "dependencies": {
-    "@jupyterlab/services": "^0.22.0",
+    "@jupyterlab/services": "^0.24.0",
     "jupyterlab": "file:../..",
     "phosphor": "^0.6.0"
   },

+ 2 - 2
examples/filebrowser/src/index.ts

@@ -26,7 +26,7 @@ import {
 } from 'phosphor/lib/ui/widget';
 
 import {
-  IServiceManager, ServiceManager
+  ServiceManager
 } from '@jupyterlab/services';
 
 import {
@@ -60,7 +60,7 @@ function main(): void {
 }
 
 
-function createApp(manager: IServiceManager): void {
+function createApp(manager: ServiceManager.IManager): void {
   let widgets: Widget[] = [];
   let activeWidget: Widget;
 

+ 0 - 1
examples/lab/index.html

@@ -2,7 +2,6 @@
 <html>
 <head>
   <title>Jupyter Plugins Demo</title>
-  <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
   <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML-full,Safe&amp;delayStartupUntil=configured"></script>
 </head>
 <body>

+ 1 - 3
examples/lab/package.json

@@ -9,11 +9,9 @@
     "watch": "watch \"npm run update && npm run build\" ../../src --wait 10"
   },
   "dependencies": {
-    "@jupyterlab/services": "^0.22.0",
     "es6-promise": "^3.1.2",
     "font-awesome": "^4.6.3",
-    "jupyterlab": "file:../../",
-    "phosphor": "^0.6.1"
+    "jupyterlab": "file:../../"
   },
   "devDependencies": {
     "file-loader": "^0.9.0",

+ 1 - 1
examples/notebook/package.json

@@ -9,7 +9,7 @@
     "watch": "watch \"npm run update && npm run build\" ../../src src --wait 10"
   },
   "dependencies": {
-    "@jupyterlab/services": "^0.22.0",
+    "@jupyterlab/services": "^0.24.0",
     "jupyterlab": "file:../..",
     "phosphor": "^0.6.0"
   },

+ 2 - 2
examples/notebook/src/index.ts

@@ -26,7 +26,7 @@ import {
 } from 'phosphor/lib/ui/widget';
 
 import {
-  IServiceManager, ServiceManager
+  ServiceManager
 } from '@jupyterlab/services';
 
 import {
@@ -96,7 +96,7 @@ function main(): void {
 }
 
 
-function createApp(manager: IServiceManager): void {
+function createApp(manager: ServiceManager.IManager): void {
   // Initialize the keymap manager with the bindings.
   let commands = new CommandRegistry();
   let keymap = new Keymap({ commands });

+ 1 - 1
examples/terminal/package.json

@@ -9,7 +9,7 @@
     "watch": "watch \"npm run update && npm run build\" ../../src src --wait 10"
   },
   "dependencies": {
-    "@jupyterlab/services": "^0.22.0",
+    "@jupyterlab/services": "^0.24.0",
     "jupyterlab": "file:../..",
     "phosphor": "^0.6.0",
     "xterm": "^1.1.3"