fixed showing message senders if there are comments in scripts

pull/95/head
jmoenig 2020-10-09 17:59:18 +02:00
rodzic 0fe92dff6c
commit 4ab701c7dd
3 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

@ -4,9 +4,13 @@
* **Documentation Updates:**
* Reference manual update
* **Notable Fixes:**
* fixed showing message senders if there are comments in scripts
### 2020-10-09
* new dev version
* objects: fixed showing message senders if there are comments in scripts
## 6.2.3
* **Notable Fixes:**

Wyświetl plik

@ -10,7 +10,7 @@
<script src="src/widgets.js?version=2020-10-06"></script>
<script src="src/blocks.js?version=2020-10-09"></script>
<script src="src/threads.js?version=2020-10-08"></script>
<script src="src/objects.js?version=2020-10-06"></script>
<script src="src/objects.js?version=2020-10-09"></script>
<script src="src/gui.js?version=2020-10-09"></script>
<script src="src/paint.js?version=2020-05-17"></script>
<script src="src/lists.js?version=2020-07-01"></script>

Wyświetl plik

@ -84,7 +84,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, BooleanSlotMorph,
localize, TableMorph, TableFrameMorph, normalizeCanvas, VectorPaintEditorMorph,
AlignmentMorph, Process, WorldMap, copyCanvas, useBlurredShadows*/
modules.objects = '2020-October-06';
modules.objects = '2020-October-09';
var SpriteMorph;
var StageMorph;
@ -5775,7 +5775,7 @@ SpriteMorph.prototype.allMessageNames = function () {
SpriteMorph.prototype.allSendersOf = function (message, receiverName, known) {
return this.allScripts().filter(script =>
script.isSending(message, receiverName, known)
script.isSending && script.isSending(message, receiverName, known)
);
};