@jupyterlab/coreutils
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -23,2 +23,11 @@ /** | ||
/** | ||
* Set global configuration data for the Jupyter application. | ||
* | ||
* @param name - The name of the configuration option. | ||
* @param value - The value to set the option to. | ||
* | ||
* @returns The last config value or an empty string if it doesn't exist. | ||
*/ | ||
function setOption(name: string, value: string): string; | ||
/** | ||
* Get the base url for a Jupyter application. | ||
@@ -25,0 +34,0 @@ */ |
@@ -71,2 +71,16 @@ "use strict"; | ||
/** | ||
* Set global configuration data for the Jupyter application. | ||
* | ||
* @param name - The name of the configuration option. | ||
* @param value - The value to set the option to. | ||
* | ||
* @returns The last config value or an empty string if it doesn't exist. | ||
*/ | ||
function setOption(name, value) { | ||
var last = getOption(name); | ||
configData[name] = value; | ||
return last; | ||
} | ||
PageConfig.setOption = setOption; | ||
/** | ||
* Get the base url for a Jupyter application. | ||
@@ -73,0 +87,0 @@ */ |
{ | ||
"name": "@jupyterlab/coreutils", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "JupyterLab - Core Utilities", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
165401
5493