diff options
| author | jmoenig <jens@moenig.org> | 2013-12-05 09:24:35 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-12-05 09:24:35 +0100 |
| commit | 6fd731cd6e9a783ae660c6e2abede2ebc21ef941 (patch) | |
| tree | fbd2f212b074fdb968718eaa55e929e03cf726e9 | |
| parent | 5716582ea20f5360888746d4220ca7ff9d279d43 (diff) | |
| download | snap-6fd731cd6e9a783ae660c6e2abede2ebc21ef941.tar.gz snap-6fd731cd6e9a783ae660c6e2abede2ebc21ef941.zip | |
fixed literal-to-non-literal zero-value comparison bug
| -rwxr-xr-x | history.txt | 4 | ||||
| -rw-r--r-- | threads.js | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/history.txt b/history.txt index 04c5949..a304638 100755 --- a/history.txt +++ b/history.txt @@ -2026,3 +2026,7 @@ ______ * Lists: harmonize equality testing and List CONTAINS testing * French translation update, thanks, Martin! * Threads: fixed #261 (less tolerant null-value-to-number-coercion) + +131205 +------ +* Threads: fixed literal-to-non-literal zero-value comparison bug @@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2013-December-04'; +modules.threads = '2013-December-05'; var ThreadManager; var Process; @@ -101,7 +101,7 @@ function snapEquals(a, b) { var x = +a, y = +b, - specials = [true, false, '', 0]; + specials = [true, false, '']; // check for special values before coercing to numbers if (isNaN(x) || isNaN(y) || |
