@jupyterlab/javascript-extension 4.0.0-alpha.4 → 4.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
# javascript-extension
|
|
2
2
|
|
|
3
|
-
A JupyterLab extension for running Javascript from a notebook in JupyterLab
|
|
3
|
+
A JupyterLab extension for running Javascript from a notebook in JupyterLab.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- JupyterLab ^0.27.0
|
|
5
|
+
This extension is in the official JupyterLab distribution.
|
|
8
6
|
|
|
9
7
|
## Usage
|
|
10
8
|
|
|
11
|
-
To render VDOM output in IPython:
|
|
12
|
-
|
|
13
9
|
```python
|
|
14
10
|
from IPython.display import Javascript
|
|
15
11
|
|
|
16
|
-
Javascript('
|
|
12
|
+
Javascript('alert("hello world");')
|
|
17
13
|
```
|
|
18
14
|
|
|
19
15
|
## Development
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/javascript-extension",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.7",
|
|
4
4
|
"description": "JupyterLab - Javascript Renderer",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"watch": "tsc -b --watch"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@jupyterlab/rendermime": "^4.0.0-alpha.
|
|
36
|
-
"@jupyterlab/rendermime-interfaces": "^4.0.0-alpha.
|
|
35
|
+
"@jupyterlab/rendermime": "^4.0.0-alpha.7",
|
|
36
|
+
"@jupyterlab/rendermime-interfaces": "^4.0.0-alpha.7"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"rimraf": "~3.0.0",
|