diff options
| author | jmoenig <jens@moenig.org> | 2013-12-04 15:26:52 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-12-04 15:26:52 +0100 |
| commit | 5716582ea20f5360888746d4220ca7ff9d279d43 (patch) | |
| tree | abe866ca3c87a7d2dba6fa13bd7383e441b095df /threads.js | |
| parent | d9b9c6bad1b2435e06b8066857a2fb3d1ce03411 (diff) | |
| download | snap-byow-5716582ea20f5360888746d4220ca7ff9d279d43.tar.gz snap-byow-5716582ea20f5360888746d4220ca7ff9d279d43.zip | |
fixed type error in equality test
Diffstat (limited to 'threads.js')
| -rw-r--r-- | threads.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ function snapEquals(a, b) { // check for special values before coercing to numbers if (isNaN(x) || isNaN(y) || [a, b].some(function (any) {return contains(specials, any) || - (any.indexOf(' ') > -1); })) { + (isString(any) && (any.indexOf(' ') > -1)); })) { x = a; y = b; } |
