From: Michał Gołębiowski Date: Tue, 26 Mar 2013 03:45:09 +0000 (+0100) Subject: Remove an unused support check, correct a comment. Close gh-1211. X-Git-Tag: 2.0.0-beta3~31 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5aaa276e9e0041d099c954fc2744f0797e3893b0;p=jquery.git Remove an unused support check, correct a comment. Close gh-1211. --- diff --git a/src/support.js b/src/support.js index b80957a39..67ba005dc 100644 --- a/src/support.js +++ b/src/support.js @@ -85,7 +85,6 @@ jQuery.support = (function( support ) { jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() { 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 f279dabf4..81c1e5b57 100644 --- a/src/traversing.js +++ b/src/traversing.js @@ -250,7 +250,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;