Fixed typo ('gobal' -> 'global')

dev
Brian Broll 2016-10-05 10:41:47 -05:00
rodzic 60942484e6
commit d6cfc77544
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -1558,7 +1558,7 @@ BlockDialogMorph.prototype.createScopeButtons = function () {
var myself = this; var myself = this;
this.addScopeButton( this.addScopeButton(
function () {myself.setScope('gobal'); }, function () {myself.setScope('global'); },
"for all sprites", "for all sprites",
function () {return myself.isGlobal; } function () {return myself.isGlobal; }
); );
@ -1591,7 +1591,7 @@ BlockDialogMorph.prototype.addScopeButton = function (action, label, query) {
BlockDialogMorph.prototype.setScope = function (varType) { BlockDialogMorph.prototype.setScope = function (varType) {
this.isGlobal = (varType === 'gobal'); this.isGlobal = (varType === 'global');
this.scopes.children.forEach(function (c) { this.scopes.children.forEach(function (c) {
c.refresh(); c.refresh();
}); });
@ -3282,7 +3282,7 @@ VariableDialogMorph.prototype.createTypeButtons = function () {
var myself = this; var myself = this;
this.addTypeButton( this.addTypeButton(
function () {myself.setType('gobal'); }, function () {myself.setType('global'); },
"for all sprites", "for all sprites",
function () {return myself.isGlobal; } function () {return myself.isGlobal; }
); );
@ -3297,7 +3297,7 @@ VariableDialogMorph.prototype.addTypeButton
= BlockDialogMorph.prototype.addTypeButton; = BlockDialogMorph.prototype.addTypeButton;
VariableDialogMorph.prototype.setType = function (varType) { VariableDialogMorph.prototype.setType = function (varType) {
this.isGlobal = (varType === 'gobal'); this.isGlobal = (varType === 'global');
this.types.children.forEach(function (c) { this.types.children.forEach(function (c) {
c.refresh(); c.refresh();
}); });