Skip to content

Commit e50d8ff

Browse files
committed
Added a toolbox for the Ned2 robot
1 parent 8d804b9 commit e50d8ff

File tree

2 files changed

+1049
-5
lines changed

2 files changed

+1049
-5
lines changed

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55

66
import { IBlocklyRegistry } from 'jupyterlab-blockly';
77

8-
import BlocklyNiryo from './niryo_one_python_generators';
8+
import { BlocklyNiryo, BlocklyNed } from './niryo_one_python_generators';
99

1010
/**
1111
* Initialization data for the jupyterlab-niryo-one extension.
@@ -19,6 +19,9 @@ const plugin: JupyterFrontEndPlugin<void> = {
1919

2020
//Registering the new toolbox containing all Niryo One blocks.
2121
blockly.registerToolbox('niryo', BlocklyNiryo.Toolbox);
22+
23+
//Registering the new toolbox containing all Niryo One blocks.
24+
blockly.registerToolbox('ned2', BlocklyNed.Toolbox);
2225
}
2326
};
2427

0 commit comments

Comments
 (0)