From f10a16e3f60de760485d6acc07aa8d2e4800c6c4 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 26 Nov 2013 12:05:13 +0100 Subject: fixed #175 - Text comparisons are now case sensitive --- threads.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'threads.js') diff --git a/threads.js b/threads.js index d08445d..2259850 100644 --- a/threads.js +++ b/threads.js @@ -104,9 +104,14 @@ 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. if (isString(x) && isString(y)) { return x.toLowerCase() === y.toLowerCase(); } + */ return x === y; } -- cgit v1.3.1