Skip to content

Commit

Permalink
Upgrade jupyter-js-services
Browse files Browse the repository at this point in the history
  • Loading branch information
gnestor committed Jan 15, 2016
1 parent f185c49 commit ee702ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
'use babel';

import path from 'path';
import React from 'react';
import ReactDOM from 'react-dom';
import {CompositeDisposable} from 'atom';
import {delimiter} from 'path';
import path, {delimiter} from 'path';
import Dispatcher from './dispatcher';
import NotebookEditor from './notebook-editor';
import NotebookEditorView from './notebook-editor-view';
Expand Down
2 changes: 1 addition & 1 deletion lib/notebook-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export default class NotebookEditor {
this.kernelGateway.stderr.on('data', (data) => {
console.log('kernelGateway.stderr ' + data);
if (data.toString().includes('The Jupyter Kernel Gateway is running at')) {
getKernelSpecs(`http://localhost:${port}`).then((kernelSpecs) => {
getKernelSpecs({baseUrl: `http://localhost:${port}`}).then((kernelSpecs) => {
let spec = Object.keys(kernelSpecs.kernelspecs).find(kernel => kernelSpecs.kernelspecs[kernel].spec.language === language);
console.log('Kernel: ', spec);
if (spec) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"flux": "^2",
"fs-plus": "^2.8",
"immutable": "^3",
"jupyter-js-services": ">=0.2.1",
"jupyter-js-services": ">=0.4.0",
"pathwatcher": ">=4.4.3",
"portfinder": "^0.4.0",
"react": "^0.14",
Expand Down

0 comments on commit ee702ce

Please sign in to comment.