diff --git a/core/blockly.js b/core/blockly.js index 7cd0e449d..54c8a5d24 100644 --- a/core/blockly.js +++ b/core/blockly.js @@ -27,7 +27,7 @@ /** * The top level namespace used to access the Blockly library. * @namespace Blockly - */ + **/ goog.provide('Blockly'); goog.require('Blockly.BlockSvg.render'); diff --git a/core/blocks.js b/core/blocks.js index 66ea2257a..5b78050aa 100644 --- a/core/blocks.js +++ b/core/blocks.js @@ -27,6 +27,11 @@ /** * A mapping of block type names to block prototype objects. * @name Blockly.Blocks - * @type {!Object} */ goog.provide('Blockly.Blocks'); + +/* + * A mapping of block type names to block prototype objects. + * @type {!Object} + */ +Blockly.Blocks = new Object(null);