Skip to content

Commit

Permalink
chore: remove deprecation console log for debug renderer (google#5998)
Browse files Browse the repository at this point in the history
  • Loading branch information
alschmiedt authored Mar 16, 2022
1 parent 20f1475 commit a65b895
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 4 additions & 5 deletions core/renderers/common/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ let useDebugger = false;
* @package
*/
const isDebuggerEnabled = function() {
deprecation.warn(
'Blockly.blockRendering.debug.isDebuggerEnabled()', 'February 2022',
'September 2022',
'the debug renderer in @blockly/dev-tools (See https://www.npmjs.com/package/@blockly/dev-tools.)');

return useDebugger;
};
exports.isDebuggerEnabled = isDebuggerEnabled;
Expand All @@ -43,6 +38,8 @@ exports.isDebuggerEnabled = isDebuggerEnabled;
* Turn on the blocks debugger.
* @package
* @alias Blockly.blockRendering.debug.startDebugger
* @deprecated March 2022. Use the rendering debugger in @blockly/dev-tools.
* See https://www.npmjs.com/package/@blockly/dev-tools for more information.
*/
const startDebugger = function() {
deprecation.warn(
Expand All @@ -57,6 +54,8 @@ exports.startDebugger = startDebugger;
* Turn off the blocks debugger.
* @package
* @alias Blockly.blockRendering.debug.stopDebugger
* @deprecated March 2022. Use the rendering debugger in @blockly/dev-tools.
* See https://www.npmjs.com/package/@blockly/dev-tools for more information.
*/
const stopDebugger = function() {
deprecation.warn(
Expand Down
4 changes: 0 additions & 4 deletions tests/playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -458,10 +458,6 @@
margin-top: 1em;
}

.blockRenderDebug {
display: none;
}

.zelos-renderer .blocklyFlyoutButton .blocklyText {
font-size: 1.5rem;
}
Expand Down

0 comments on commit a65b895

Please sign in to comment.