mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Fix typo in workspacetoCode
This commit is contained in:
parent
fe0e58114e
commit
51d9981fe3
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue