summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-12-04 09:47:42 +0100
committerjmoenig <jens@moenig.org>2013-12-04 09:47:42 +0100
commit9faa4844d4ab528e5f689afdd042efe07ab81605 (patch)
tree5338c44500676b071cdb29561f72fbb517e4aa68 /threads.js
parent3b596cf6fb6258665f4f31077552c678a23d06e1 (diff)
downloadsnap-byow-9faa4844d4ab528e5f689afdd042efe07ab81605.tar.gz
snap-byow-9faa4844d4ab528e5f689afdd042efe07ab81605.zip
handle text comparisons case-insensitive (again)
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/threads.js b/threads.js
index 78831cf..727aedf 100644
--- a/threads.js
+++ b/threads.js
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/
// Global stuff ////////////////////////////////////////////////////////
-modules.threads = '2013-November-26';
+modules.threads = '2013-December-04';
var ThreadManager;
var Process;
@@ -104,14 +104,12 @@ function snapEquals(a, b) {
x = a;
y = b;
}
- /*
- // handle text comparision text-insensitive.
- // I think this is a pedagogical feature for novices,
- // but some teachers disagree. Commented out for now.
+
+ // handle text comparision text-insensitive.
if (isString(x) && isString(y)) {
return x.toLowerCase() === y.toLowerCase();
}
- */
+
return x === y;
}