Deprecate empty list block.

This commit is contained in:
Neil Fraser
2015-10-02 15:38:39 -07:00
parent 2d11522c0e
commit ac9de0d915
5 changed files with 13 additions and 4 deletions

View File

@@ -37,6 +37,10 @@ Blockly.Blocks.lists.HUE = 260;
Blockly.Blocks['lists_create_empty'] = {
/**
* Block for creating an empty list.
* The 'list_create_with' block is preferred as it is more flexible.
* <block type="lists_create_with">
* <mutation items="0"></mutation>
* </block>
* @this Blockly.Block
*/
init: function() {