mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Fix typo in workspacetoCode
This commit is contained in:
@@ -77,7 +77,7 @@ Blockly.Generator.prototype.INDENT = ' ';
|
||||
*/
|
||||
Blockly.Generator.prototype.workspaceToCode = function(workspace) {
|
||||
if (!workspace) {
|
||||
// Backwards compatability from before there could be multiple workspaces.
|
||||
// Backwards compatibility from before there could be multiple workspaces.
|
||||
console.warn('No workspace specified in workspaceToCode call. Guessing.');
|
||||
workspace = Blockly.getMainWorkspace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user