Closed Alexejhero closed 4 years ago
Certain blocks use functions that are exposed by blockly, such as mathRandomInt.
mathRandomInt
There is also the toLowerCase function defined by blockly on String.prototype.
toLowerCase
String.prototype
These functions cannot be accessed in node-blockly since they are not exposed.
Nevermind, apparently Blockly includes those functions with the generated code.
Also, I'm stupid. The toLowerCase function is a JavaScript native function.
Certain blocks use functions that are exposed by blockly, such as
mathRandomInt
.There is also the
toLowerCase
function defined by blockly onString.prototype
.These functions cannot be accessed in node-blockly since they are not exposed.