diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-09-12 15:43:39 +0200 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-09-12 15:43:39 +0200 |
| commit | 39a50e190ac39560564507399d26fe7c141de86f (patch) | |
| tree | 222df7c973d50ddeefdb4c9f071f16651b0d4859 /blocks.js | |
| parent | feb9a2d0fe9e2a744059e8054c229c537a4fa910 (diff) | |
| parent | f70276f603a346f51bacb946fb6e615bb2a09f66 (diff) | |
| download | snap-39a50e190ac39560564507399d26fe7c141de86f.tar.gz snap-39a50e190ac39560564507399d26fe7c141de86f.zip | |
Merge branch 'xml_beautifier' into github_backend
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2014-July-30'; +modules.blocks = '2014-August-13'; var SyntaxElementMorph; @@ -396,10 +396,11 @@ SyntaxElementMorph.prototype.allInputs = function () { SyntaxElementMorph.prototype.allEmptySlots = function () { /* answer empty input slots of all children excluding myself, - but omit those in nested rings (lambdas) + but omit those in nested rings (lambdas) and JS-Function primitives */ var empty = []; - if (!(this instanceof RingMorph)) { + if (!(this instanceof RingMorph) && + (this.selector !== 'reportJSFunction')) { this.children.forEach(function (morph) { if (morph.isEmptySlot && morph.isEmptySlot()) { empty.push(morph); |
