Fix typo in workspacetoCode

This commit is contained in:
Rodrigo Queiro 2016-05-11 16:52:51 -07:00
parent fe0e58114e
commit 51d9981fe3

View file

@ -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();
}