]> source.dussan.org Git - jquery.git/commitdiff
Remove an unused support check, correct a comment. Close gh-1211.
authorMichał Gołębiowski <m.goleb@gmail.com>
Tue, 26 Mar 2013 03:45:09 +0000 (04:45 +0100)
committerDave Methvin <dave.methvin@gmail.com>
Thu, 4 Apr 2013 01:21:23 +0000 (21:21 -0400)
src/support.js
src/traversing.js

index b80957a3927623f93133291b7bd0371df47a2489..67ba005dcac5245dba880ffb3f2cc6e0e69ace60 100644 (file)
@@ -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 ) {
index f279dabf4e5bd19d2ce4cb870b8317a0ae11267e..81c1e5b5741ee5f44cf38580b5ff73cab5b60b9c 100644 (file)
@@ -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;