kopia lustrzana https://github.com/backface/turtlestitch
added a test case
rodzic
e21f636732
commit
be02b46ff3
|
@ -148,7 +148,7 @@ CustomCommandBlockMorph, SymbolMorph, ToggleButtonMorph, DialMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.blocks = '2020-January-06';
|
||||
modules.blocks = '2020-February-13';
|
||||
|
||||
var SyntaxElementMorph;
|
||||
var BlockMorph;
|
||||
|
@ -13570,3 +13570,15 @@ ScriptFocusMorph.prototype.reactToKeyEvent = function (key) {
|
|||
}
|
||||
}
|
||||
};
|
||||
|
||||
// register examples with the World demo menu
|
||||
// comment out to shave off a millisecond loading speed ;-)
|
||||
|
||||
(function () {
|
||||
BlockMorph.prototype.addToDemoMenu([
|
||||
'Syntax',
|
||||
[
|
||||
[new CommandBlockMorph(), 'Command']
|
||||
]
|
||||
]);
|
||||
})();
|
||||
|
|
|
@ -1801,14 +1801,15 @@ SymbolMorph.prototype.renderSymbolGlobe = function (ctx, color) {
|
|||
|
||||
SymbolMorph.prototype.addToDemoMenu([
|
||||
'Symbols',
|
||||
SymbolMorph.prototype.names.map(sym =>
|
||||
SymbolMorph.prototype.names.map(sym => [
|
||||
new SymbolMorph(
|
||||
sym,
|
||||
30,
|
||||
bright,
|
||||
offset,
|
||||
dark
|
||||
)
|
||||
)
|
||||
),
|
||||
sym
|
||||
])
|
||||
]);
|
||||
})();
|
||||
|
|
Ładowanie…
Reference in New Issue