From d6cfc775443ca1e68afccd9b855eb767af9a764c Mon Sep 17 00:00:00 2001 From: Brian Broll Date: Wed, 5 Oct 2016 10:41:47 -0500 Subject: [PATCH] Fixed typo ('gobal' -> 'global') --- byob.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/byob.js b/byob.js index 16b2b985..e62750cc 100644 --- a/byob.js +++ b/byob.js @@ -1558,7 +1558,7 @@ BlockDialogMorph.prototype.createScopeButtons = function () { var myself = this; this.addScopeButton( - function () {myself.setScope('gobal'); }, + function () {myself.setScope('global'); }, "for all sprites", function () {return myself.isGlobal; } ); @@ -1591,7 +1591,7 @@ BlockDialogMorph.prototype.addScopeButton = function (action, label, query) { BlockDialogMorph.prototype.setScope = function (varType) { - this.isGlobal = (varType === 'gobal'); + this.isGlobal = (varType === 'global'); this.scopes.children.forEach(function (c) { c.refresh(); }); @@ -3282,7 +3282,7 @@ VariableDialogMorph.prototype.createTypeButtons = function () { var myself = this; this.addTypeButton( - function () {myself.setType('gobal'); }, + function () {myself.setType('global'); }, "for all sprites", function () {return myself.isGlobal; } ); @@ -3297,7 +3297,7 @@ VariableDialogMorph.prototype.addTypeButton = BlockDialogMorph.prototype.addTypeButton; VariableDialogMorph.prototype.setType = function (varType) { - this.isGlobal = (varType === 'gobal'); + this.isGlobal = (varType === 'global'); this.types.children.forEach(function (c) { c.refresh(); });