mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Removing namespace declarations for deprecated and unused namespaces. (#1796)
These namespaces use to contain the original block hue constants, but were deprecated (via comment, except for procedures) over a year ago. With the removal of those constants, the declarations were creating empty, unused objects.
This commit is contained in:
committed by
GitHub
parent
2bfff4a335
commit
75459abfdd
@@ -29,7 +29,6 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
goog.provide('Blockly.Blocks.colour'); // Deprecated
|
||||
goog.provide('Blockly.Constants.Colour'); // deprecated, 2018 April 5
|
||||
|
||||
goog.require('Blockly.Blocks');
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
goog.provide('Blockly.Blocks.lists'); // Deprecated
|
||||
goog.provide('Blockly.Constants.Lists'); // deprecated, 2018 April 5
|
||||
|
||||
goog.require('Blockly.Blocks');
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
goog.provide('Blockly.Blocks.logic'); // Deprecated
|
||||
goog.provide('Blockly.Constants.Logic');
|
||||
|
||||
goog.require('Blockly.Blocks');
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
goog.provide('Blockly.Blocks.loops'); // Deprecated
|
||||
goog.provide('Blockly.Constants.Loops');
|
||||
|
||||
goog.require('Blockly.Blocks');
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
goog.provide('Blockly.Blocks.math'); // Deprecated
|
||||
goog.provide('Blockly.Constants.Math');
|
||||
|
||||
goog.require('Blockly.Blocks');
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
goog.provide('Blockly.Blocks.procedures');
|
||||
|
||||
goog.require('Blockly.Blocks');
|
||||
goog.require('Blockly');
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
goog.provide('Blockly.Blocks.texts'); // Deprecated
|
||||
goog.provide('Blockly.Constants.Text');
|
||||
|
||||
goog.require('Blockly.Blocks');
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
goog.provide('Blockly.Blocks.variables'); // Deprecated.
|
||||
goog.provide('Blockly.Constants.Variables');
|
||||
|
||||
goog.require('Blockly.Blocks');
|
||||
|
||||
Reference in New Issue
Block a user