The easiest thing would be just to call Espruino.Core.Code.switchToBlockly(). If you want to make your code extensible, you could write a 'plugin' in js/plugins, add it to main.html, and then have it call that function on initialisation.
The divider uses 'splitster' - you'll have to look at splitster.js to see what you have to do, but you can probably just change the arguments to the line $(".split-pane").splitster({ in js/core/app.js
You'd have to ask on the Blockly forum about this... Personally I'd consider grouping them by 'level', and then you could presumably hide the label for that level if the children weren't supposed to see it.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
The easiest thing would be just to call
Espruino.Core.Code.switchToBlockly()
. If you want to make your code extensible, you could write a 'plugin' injs/plugins
, add it tomain.html
, and then have it call that function on initialisation.The divider uses 'splitster' - you'll have to look at
splitster.js
to see what you have to do, but you can probably just change the arguments to the line$(".split-pane").splitster({
injs/core/app.js
You'd have to ask on the Blockly forum about this... Personally I'd consider grouping them by 'level', and then you could presumably hide the label for that level if the children weren't supposed to see it.