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