mirror of
https://github.com/google/blockly.git
synced 2026-01-11 10:57:07 +01:00
Automatic commit Sat Jan 11 03:00:02 PST 2014
This commit is contained in:
@@ -112,6 +112,9 @@ Blockly.JavaScript.INFINITE_LOOP_TRAP = null;
|
||||
Blockly.JavaScript.init = function() {
|
||||
// Create a dictionary of definitions to be printed before the code.
|
||||
Blockly.JavaScript.definitions_ = Object.create(null);
|
||||
// Create a dictionary mapping desired function names in definitions_
|
||||
// to actual function names (to avoid collisions with user functions).
|
||||
Blockly.JavaScript.functionNames_ = Object.create(null);
|
||||
|
||||
if (Blockly.Variables) {
|
||||
if (!Blockly.JavaScript.variableDB_) {
|
||||
|
||||
Reference in New Issue
Block a user