diff --git a/core/inject.js b/core/inject.js index d299d9997..4ef336f5e 100644 --- a/core/inject.js +++ b/core/inject.js @@ -311,7 +311,7 @@ Blockly.createMainWorkspace_ = function(svg, options, blockDragSurface, } if (e) { if (!e.group && object) { - console.log('WARNING: Moved object in bounds but there was no' + + console.warn('Moved object in bounds but there was no' + ' event group. This may break undo.'); } if (oldGroup !== null) { diff --git a/core/utils.js b/core/utils.js index 4bbffdca5..fa7e42698 100644 --- a/core/utils.js +++ b/core/utils.js @@ -250,7 +250,7 @@ Blockly.utils.checkMessageReferences = function(message) { for (var i = 0; i < m.length; i++) { var msgKey = m[i].toUpperCase(); if (msgTable[msgKey.slice(6, -1)] == undefined) { - console.log('WARNING: No message string for ' + m[i] + ' in ' + message); + console.warn('No message string for ' + m[i] + ' in ' + message); validSoFar = false; // Continue to report other errors. } }