]> git.parisson.com Git - pdf.js.git/commitdiff
Using !== for objects comparison
authornotmasteryet <async.processingjs@yahoo.com>
Fri, 23 Sep 2011 11:58:54 +0000 (06:58 -0500)
committernotmasteryet <async.processingjs@yahoo.com>
Fri, 23 Sep 2011 11:58:54 +0000 (06:58 -0500)
test/driver.js

index 3e3097107d3eaaa40c2058dfdee6d2c5064c5555..e7c1253471f14a95b73e4976df65cd83abb5e85d 100644 (file)
@@ -58,7 +58,7 @@ function cleanup() {
   }
   var guard = document.getElementById('content-end');
   var body = document.body;
-  while (body.lastChild != guard)
+  while (body.lastChild !== guard)
     body.removeChild(body.lastChild);
 }