File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ One major concept of the Lumino library on which JupyterLab is built is
8
8
the notion of _ Commands_ .
9
9
10
10
They are functions stored in a registry (under an unique
11
- specifier) that can be executed from any piece of code having accessed to that
11
+ specifier) that can be executed from any piece of code having access to that
12
12
registry.
13
13
14
- It is quite common for extension to define one or more such a command .
14
+ It is quite common for an extension to define one or more such commands .
15
15
16
16
In this extension, you are going to add a command to the application command registry.
17
17
@@ -65,7 +65,7 @@ when the command is executed. It can optionally takes arguments (arbitrarily def
65
65
by the developer).
66
66
67
67
To execute that command, you only need access to the _ Commands Registry_ in any other
68
- parts of application. Then you will need to call the ` execute ` method of the registry
68
+ part of the application. Then you will need to call the ` execute ` method of the registry
69
69
with the unique command id and optionally the arguments.
70
70
71
71
``` ts
@@ -80,7 +80,7 @@ with the unique command id and optionally the arguments.
80
80
```
81
81
82
82
When running JupyterLab with this extension, the following message should
83
- appears in the web browser console and as an alert:
83
+ appear in the web browser console as an alert:
84
84
85
85
``` bash
86
86
jlab-examples:command has been called from init.
You can’t perform that action at this time.
0 commit comments