Skip to content

Commit

Permalink
Removing namespace declarations for deprecated and unused namespaces. (
Browse files Browse the repository at this point in the history
…#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.
  • Loading branch information
AnmAtAnm authored Apr 18, 2018
1 parent 2bfff4a commit 75459ab
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion blocks/colour.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 0 additions & 1 deletion blocks/lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 0 additions & 1 deletion blocks/logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/
'use strict';

goog.provide('Blockly.Blocks.logic'); // Deprecated
goog.provide('Blockly.Constants.Logic');

goog.require('Blockly.Blocks');
Expand Down
1 change: 0 additions & 1 deletion blocks/loops.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/
'use strict';

goog.provide('Blockly.Blocks.loops'); // Deprecated
goog.provide('Blockly.Constants.Loops');

goog.require('Blockly.Blocks');
Expand Down
1 change: 0 additions & 1 deletion blocks/math.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/
'use strict';

goog.provide('Blockly.Blocks.math'); // Deprecated
goog.provide('Blockly.Constants.Math');

goog.require('Blockly.Blocks');
Expand Down
2 changes: 0 additions & 2 deletions blocks/procedures.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
*/
'use strict';

goog.provide('Blockly.Blocks.procedures');

goog.require('Blockly.Blocks');
goog.require('Blockly');

Expand Down
1 change: 0 additions & 1 deletion blocks/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
*/
'use strict';

goog.provide('Blockly.Blocks.texts'); // Deprecated
goog.provide('Blockly.Constants.Text');

goog.require('Blockly.Blocks');
Expand Down
1 change: 0 additions & 1 deletion blocks/variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/
'use strict';

goog.provide('Blockly.Blocks.variables'); // Deprecated.
goog.provide('Blockly.Constants.Variables');

goog.require('Blockly.Blocks');
Expand Down

0 comments on commit 75459ab

Please sign in to comment.