kopia lustrzana https://github.com/backface/turtlestitch
fixed #593
match broadcast numbers with event hat blocks containing strings that can be parsed as numberspull/3/merge
rodzic
dc3b849d31
commit
29b47cc2d2
|
@ -2282,3 +2282,7 @@ ______
|
|||
* Portuguese translation update, thanks, Manuel!
|
||||
* fixed #590 (Russian translation syntax glitches) Thanks @alexf2000 !
|
||||
* Paint: flood fill issue fixed, thanks, Kartik!
|
||||
|
||||
140930
|
||||
------
|
||||
* Objects: fixed #593 match broadcast numbers with event hat blocks containing strings that can be parsed as numbers
|
||||
|
|
|
@ -125,7 +125,7 @@ PrototypeHatBlockMorph*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.objects = '2014-September-17';
|
||||
modules.objects = '2014-September-30';
|
||||
|
||||
var SpriteMorph;
|
||||
var StageMorph;
|
||||
|
@ -3457,6 +3457,7 @@ SpriteMorph.prototype.allMessageNames = function () {
|
|||
};
|
||||
|
||||
SpriteMorph.prototype.allHatBlocksFor = function (message) {
|
||||
if (typeof message === 'number') {message = message.toString(); }
|
||||
return this.scripts.children.filter(function (morph) {
|
||||
var event;
|
||||
if (morph.selector) {
|
||||
|
|
Ładowanie…
Reference in New Issue