Skip to content

Commit c818f17

Browse files
committed
fix formatting issues
1 parent 99737a8 commit c818f17

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# jupyterlab_niryo_one
2-
Blockly extension for JupyterLab to control a Niryo One robot.
32

3+
Blockly extension for JupyterLab to control a Niryo One robot.
44

55
## Blockly
66

@@ -10,14 +10,15 @@ Docs: https://developers.google.com/blockly/guides/overview
1010
Repo: https://github.com/google/blockly
1111

1212
## Niryo One
13+
1314
Niryo One, a collaborative and open source 6-axis robot made in France for: higher education, vocational training and R&D laboratories. Its use is particularly adapted to study robotics and programming in the context of the industry 4.0.
1415

1516
Docs: https://niryo.com/fr/product/niryo-one/
1617
Repo: https://github.com/NiryoRobotics/niryo_one_ros
1718

1819
## Requirements
1920

20-
* JupyterLab == 3.4
21+
- JupyterLab == 3.4
2122

2223
## Install
2324

@@ -45,7 +46,6 @@ To remove the extension, execute:
4546
pip uninstall jupyterlab_niryo_one
4647
```
4748

48-
4949
## Contributing
5050

5151
### Development install
@@ -98,4 +98,4 @@ folder is located. Then you can remove the symlink named `jupyterlab_niryo_one`
9898

9999
### Packaging the extension
100100

101-
See [RELEASE](RELEASE.md)
101+
See [RELEASE](RELEASE.md)

src/index.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ const plugin: JupyterFrontEndPlugin<void> = {
4343
palette: ICommandPalette | null
4444
) => {
4545
console.log('JupyterLab extension jupyterlab-niryo-one is activated!');
46-
46+
4747
// Activating the Blockly plugin.
48-
const BlocklyReturn =
49-
Blocklyplugin.activate(
48+
const BlocklyReturn = Blocklyplugin.activate(
5049
app,
5150
restorer,
5251
rendermime,
@@ -55,10 +54,14 @@ const plugin: JupyterFrontEndPlugin<void> = {
5554
settings,
5655
translator,
5756
launcher,
58-
palette);
59-
57+
palette
58+
);
59+
6060
//Registering the new toolbox containing all Niryo One blocks.
61-
(BlocklyReturn as IBlocklyRegisty).registerToolbox('niryo', BlocklyNiryo.Toolbox);
61+
(BlocklyReturn as IBlocklyRegisty).registerToolbox(
62+
'niryo',
63+
BlocklyNiryo.Toolbox
64+
);
6265
}
6366
};
6467

0 commit comments

Comments
 (0)