From 674d34f021266a9b2dd10bfca5d7223dbce250c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Tue, 26 Mar 2013 04:48:47 +0100 Subject: [PATCH] Remove an unused support check, correct a comment. Close gh-1212. --- src/support.js | 1 - src/traversing.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/support.js b/src/support.js index a95e5f2fe..d1cccee2f 100644 --- a/src/support.js +++ b/src/support.js @@ -180,7 +180,6 @@ jQuery.support = (function( support ) { div.innerHTML = ""; div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; support.boxSizing = ( div.offsetWidth === 4 ); - support.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== 1 ); // Use window.getComputedStyle because jsdom on node.js will break without it. if ( window.getComputedStyle ) { diff --git a/src/traversing.js b/src/traversing.js index 79e1c4964..cceb9d5a4 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -246,7 +246,7 @@ jQuery.extend({ // Implement the identical functionality for filter and not function winnow( elements, qualifier, keep ) { - // Can't pass null or undefined to indexOf in Firefox 4 + // Can't pass null or undefined to indexOf // Set to 0 to skip string check qualifier = qualifier || 0; -- 2.39.5