summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Mönig <jens@moenig.org>2015-02-28 05:58:34 -0800
committerJens Mönig <jens@moenig.org>2015-02-28 05:58:34 -0800
commite1a558a6739a59085e95161827662512a6d7fa78 (patch)
tree38bd332f7dc50fb1067763fda2f47d51a5769b0a
parent58d8fd7ccd9843a743917408bf73da69485e7f3d (diff)
downloadsnap-e1a558a6739a59085e95161827662512a6d7fa78.tar.gz
snap-e1a558a6739a59085e95161827662512a6d7fa78.zip
fixed #715
-rwxr-xr-xhistory.txt3
-rw-r--r--threads.js4
2 files changed, 4 insertions, 3 deletions
diff --git a/history.txt b/history.txt
index 21d038c..bc49af2 100755
--- a/history.txt
+++ b/history.txt
@@ -2455,4 +2455,5 @@ ______
150228
------
* Blocks, Store, GUI: Cache inputs, accelerates evaluating recursive reporters and warped / turbo recursive commands by up to 40%
-* Objects: slightly optimize warped / turbo execution
+* Objects: slightly optimize warped / turbo execution
+* Threads: fixed #715
diff --git a/threads.js b/threads.js
index e07059f..50af8dd 100644
--- a/threads.js
+++ b/threads.js
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/
// Global stuff ////////////////////////////////////////////////////////
-modules.threads = '2015-January-12';
+modules.threads = '2015-February-28';
var ThreadManager;
var Process;
@@ -1926,7 +1926,7 @@ Process.prototype.reportTypeOf = function (thing) {
if (thing === true || (thing === false)) {
return 'Boolean';
}
- if (!isNaN(parseFloat(thing))) {
+ if (!isNaN(+thing)) {
return 'number';
}
if (isString(thing)) {