this shouldn't be short-circuited

This commit is contained in:
ccd0 2014-06-27 22:21:13 -07:00
parent 9a7f8548a1
commit 3f7a042f40

View File

@ -24,7 +24,7 @@ BuildTest =
if !x2.isEqualNode y2
return [x2, y2]
i = 0
while (x2 = x.childNodes[i]) and (y2 = y.childNodes[i++])
while !!(x2 = x.childNodes[i]) & !!(y2 = y.childNodes[i++])
if !x2.isEqualNode y2
return BuildTest.firstDiff x2, y2
return [x2, y2]