@jupyterlab/notebook
Advanced tools
Comparing version 0.9.0 to 0.10.0
@@ -543,3 +543,3 @@ "use strict"; | ||
var value = JSON.stringify(options.optionsMap[label]); | ||
optionNodes.push(virtualdom_1.h.option({ label: label, value: value })); | ||
optionNodes.push(virtualdom_1.h.option({ value: value }, label)); | ||
} | ||
@@ -546,0 +546,0 @@ var node = virtualdom_1.VirtualDOM.realize(virtualdom_1.h.div({}, virtualdom_1.h.label(title), virtualdom_1.h.select({}, optionNodes))); |
@@ -62,2 +62,9 @@ "use strict"; | ||
onClick: function () { | ||
if (panel.context.model.readOnly) { | ||
return apputils_1.showDialog({ | ||
title: 'Cannot Save', | ||
body: 'Document is read-only', | ||
buttons: [apputils_1.Dialog.okButton()] | ||
}); | ||
} | ||
panel.context.save().then(function () { | ||
@@ -64,0 +71,0 @@ if (!panel.isDisposed) { |
@@ -739,3 +739,3 @@ "use strict"; | ||
Notebook.prototype.handleEvent = function (event) { | ||
if (!this.model || this.model.readOnly) { | ||
if (!this.model) { | ||
return; | ||
@@ -1276,3 +1276,3 @@ } | ||
var model = this.model; | ||
if (!model || model.readOnly) { | ||
if (!model) { | ||
return; | ||
@@ -1279,0 +1279,0 @@ } |
{ | ||
"name": "@jupyterlab/notebook", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "JupyterLab - Notebook", | ||
@@ -16,10 +16,9 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^0.9.0", | ||
"@jupyterlab/cells": "^0.9.0", | ||
"@jupyterlab/codeeditor": "^0.9.0", | ||
"@jupyterlab/coreutils": "^0.9.0", | ||
"@jupyterlab/docregistry": "^0.9.0", | ||
"@jupyterlab/outputarea": "^0.9.0", | ||
"@jupyterlab/rendermime": "^0.9.0", | ||
"@jupyterlab/services": "^0.48.0", | ||
"@jupyterlab/apputils": "^0.10.0", | ||
"@jupyterlab/cells": "^0.10.0", | ||
"@jupyterlab/codeeditor": "^0.10.0", | ||
"@jupyterlab/coreutils": "^0.10.0", | ||
"@jupyterlab/docregistry": "^0.10.0", | ||
"@jupyterlab/rendermime": "^0.10.0", | ||
"@jupyterlab/services": "^0.49.0", | ||
"@phosphor/algorithm": "^1.1.1", | ||
@@ -26,0 +25,0 @@ "@phosphor/coreutils": "^1.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
250074
16
41343
7432
9
2
+ Added@jupyterlab/apputils@0.10.0(transitive)
+ Added@jupyterlab/cells@0.10.0(transitive)
+ Added@jupyterlab/codeeditor@0.10.0(transitive)
+ Added@jupyterlab/codemirror@0.10.0(transitive)
+ Added@jupyterlab/coreutils@0.10.1(transitive)
+ Added@jupyterlab/docregistry@0.10.0(transitive)
+ Added@jupyterlab/outputarea@0.10.0(transitive)
+ Added@jupyterlab/rendermime@0.10.0(transitive)
+ Added@jupyterlab/services@0.49.0(transitive)
+ Addedmoment@2.17.1(transitive)
- Removed@jupyterlab/outputarea@^0.9.0
- Removed@jupyterlab/apputils@0.9.0(transitive)
- Removed@jupyterlab/cells@0.9.0(transitive)
- Removed@jupyterlab/codeeditor@0.9.0(transitive)
- Removed@jupyterlab/codemirror@0.9.0(transitive)
- Removed@jupyterlab/coreutils@0.9.0(transitive)
- Removed@jupyterlab/docregistry@0.9.0(transitive)
- Removed@jupyterlab/outputarea@0.9.0(transitive)
- Removed@jupyterlab/rendermime@0.9.0(transitive)
- Removed@jupyterlab/services@0.48.0(transitive)
- Removed@types/codemirror@0.0.38(transitive)
- Removed@types/marked@0.0.28(transitive)
- Removed@types/mathjax@0.0.31(transitive)
- Removed@types/sanitize-html@1.27.2(transitive)
- Removed@types/text-encoding@0.0.30(transitive)
- Removedmoment@2.30.1(transitive)
Updated@jupyterlab/apputils@^0.10.0
Updated@jupyterlab/cells@^0.10.0
Updated@jupyterlab/services@^0.49.0