@jupyterlab/csvviewer-extension
Advanced tools
Comparing version 0.7.1 to 0.8.0
@@ -8,3 +8,2 @@ "use strict"; | ||
var csvviewer_1 = require("@jupyterlab/csvviewer"); | ||
var docregistry_1 = require("@jupyterlab/docregistry"); | ||
/** | ||
@@ -20,3 +19,3 @@ * The name of the factory that creates CSV widgets. | ||
id: 'jupyter.extensions.csv-handler', | ||
requires: [docregistry_1.IDocumentRegistry, application_1.ILayoutRestorer], | ||
requires: [application_1.ILayoutRestorer], | ||
autoStart: true | ||
@@ -31,3 +30,3 @@ }; | ||
*/ | ||
function activate(app, registry, restorer) { | ||
function activate(app, restorer) { | ||
var factory = new csvviewer_1.CSVViewerFactory({ | ||
@@ -42,7 +41,7 @@ name: FACTORY, | ||
restorer.restore(tracker, { | ||
command: 'file-operations:open', | ||
command: 'docmanager:open', | ||
args: function (widget) { return ({ path: widget.context.path, factory: FACTORY }); }, | ||
name: function (widget) { return widget.context.path; } | ||
}); | ||
registry.addWidgetFactory(factory); | ||
app.docRegistry.addWidgetFactory(factory); | ||
factory.widgetCreated.connect(function (sender, widget) { | ||
@@ -49,0 +48,0 @@ // Track the widget. |
{ | ||
"name": "@jupyterlab/csvviewer-extension", | ||
"version": "0.7.1", | ||
"version": "0.8.0", | ||
"description": "JupyterLab - CSV Widget Extension", | ||
@@ -15,10 +15,10 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@jupyterlab/application": "^0.7.0", | ||
"@jupyterlab/apputils": "^0.7.0", | ||
"@jupyterlab/csvviewer": "^0.7.1", | ||
"@jupyterlab/docregistry": "^0.7.0" | ||
"@jupyterlab/application": "^0.8.0", | ||
"@jupyterlab/apputils": "^0.8.0", | ||
"@jupyterlab/csvviewer": "^0.8.0", | ||
"@jupyterlab/docregistry": "^0.8.0" | ||
}, | ||
"devDependencies": { | ||
"rimraf": "^2.5.2", | ||
"typescript": "^2.2.1" | ||
"typescript": "~2.3.1" | ||
}, | ||
@@ -25,0 +25,0 @@ "scripts": { |
2755
55
+ Added@jupyterlab/application@0.8.3(transitive)
+ Added@jupyterlab/apputils@0.8.2(transitive)
+ Added@jupyterlab/codeeditor@0.8.1(transitive)
+ Added@jupyterlab/codemirror@0.8.1(transitive)
+ Added@jupyterlab/coreutils@0.8.1(transitive)
+ Added@jupyterlab/csvviewer@0.8.2(transitive)
+ Added@jupyterlab/docregistry@0.8.2(transitive)
+ Added@jupyterlab/rendermime@0.8.2(transitive)
+ Added@jupyterlab/rendermime-interfaces@0.2.1(transitive)
+ Added@jupyterlab/services@0.47.1(transitive)
+ Added@types/marked@0.0.28(transitive)
+ Added@types/mathjax@0.0.31(transitive)
+ Addedajv@5.5.2(transitive)
+ Addedansi_up@1.3.0(transitive)
+ Addedco@4.6.0(transitive)
+ Addedfast-deep-equal@1.1.0(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedjson-schema-traverse@0.3.1(transitive)
+ Addedmarked@0.3.19(transitive)
- Removed@jupyterlab/application@0.7.0(transitive)
- Removed@jupyterlab/apputils@0.7.0(transitive)
- Removed@jupyterlab/codeeditor@0.7.0(transitive)
- Removed@jupyterlab/codemirror@0.7.0(transitive)
- Removed@jupyterlab/coreutils@0.7.1(transitive)
- Removed@jupyterlab/csvviewer@0.7.1(transitive)
- Removed@jupyterlab/docregistry@0.7.0(transitive)
- Removed@jupyterlab/services@0.46.0(transitive)
Updated@jupyterlab/apputils@^0.8.0
Updated@jupyterlab/csvviewer@^0.8.0