Merge branch 'master' into develop

This commit is contained in:
Neil Fraser
2016-06-10 13:47:58 -07:00

View File

@@ -103,6 +103,12 @@ Blockly.JavaScript.ORDER_ASSIGNMENT = 16; // = += -= *= /= %= <<= >>= ...
Blockly.JavaScript.ORDER_COMMA = 17; // ,
Blockly.JavaScript.ORDER_NONE = 99; // (...)
/**
* Allow for switching between one and zero based indexing, one based by
* default.
*/
Blockly.JavaScript.ONE_BASED_INDEXING = true;
/**
* Initialise the database of variable names.
* @param {!Blockly.Workspace} workspace Workspace to generate code from.