summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blocks.js7
-rwxr-xr-xhistory.txt5
-rw-r--r--threads.js4
3 files changed, 11 insertions, 5 deletions
diff --git a/blocks.js b/blocks.js
index 2e297ab..5f9bb29 100644
--- a/blocks.js
+++ b/blocks.js
@@ -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);
diff --git a/history.txt b/history.txt
index 0a7dfe6..7d60971 100755
--- a/history.txt
+++ b/history.txt
@@ -2256,3 +2256,8 @@ ______
* Objects: propagate HIDE and SHOW to nested sprite parts
* GUI: propagate DELETE to nested sprite parts
* Blocks, Threads: export script pic with result bubble (shift-context-menu of reporter scripts)
+* updated Portuguese translation, thanks, Manuel!
+
+140813
+------
+* Threads, Blocks: enable Zombiefication of JS-Functions
diff --git a/threads.js b/threads.js
index 3324ac6..335b5d0 100644
--- a/threads.js
+++ b/threads.js
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/
// Global stuff ////////////////////////////////////////////////////////
-modules.threads = '2014-July-30';
+modules.threads = '2014-August-13';
var ThreadManager;
var Process;
@@ -774,7 +774,7 @@ Process.prototype.evaluate = function (
if (!context) {return null; }
if (context instanceof Function) {
return context.apply(
- this.homeContext.receiver,
+ this.blockReceiver(),
args.asArray().concat([this])
);
}