Lint fixes.

This commit is contained in:
Neil Fraser
2015-01-22 15:58:10 -08:00
parent f8365e9eba
commit 1c39a638e3
27 changed files with 71 additions and 2129 deletions

View File

@@ -79,6 +79,11 @@ Blockly.Python.ORDER_CONDITIONAL = 15; // if else
Blockly.Python.ORDER_LAMBDA = 16; // lambda
Blockly.Python.ORDER_NONE = 99; // (...)
/**
* Empty loops or conditionals are not allowed in Python.
*/
Blockly.Python.PASS = ' pass\n';
/**
* Initialise the database of variable names.
* @param {!Blockly.Workspace} workspace Workspace to generate code from.