From 5aaa276e9e0041d099c954fc2744f0797e3893b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Tue, 26 Mar 2013 04:45:09 +0100 Subject: [PATCH] Remove an unused support check, correct a comment. Close gh-1211. --- 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 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; -- 2.39.5