kopia lustrzana https://github.com/backface/turtlestitch
Fixed typo ('gobal' -> 'global')
rodzic
60942484e6
commit
d6cfc77544
8
byob.js
8
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();
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue