Commit 5aaa276e authored by Michał Gołębiowski's avatar Michał Gołębiowski Committed by Dave Methvin

Remove an unused support check, correct a comment. Close gh-1211.

parent 8db7d6f2
...@@ -85,7 +85,6 @@ jQuery.support = (function( support ) { ...@@ -85,7 +85,6 @@ jQuery.support = (function( support ) {
jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() { jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() {
support.boxSizing = div.offsetWidth === 4; support.boxSizing = div.offsetWidth === 4;
}); });
support.doesNotIncludeMarginInBodyOffset = body.offsetTop !== 1;
// Use window.getComputedStyle because jsdom on node.js will break without it. // Use window.getComputedStyle because jsdom on node.js will break without it.
if ( window.getComputedStyle ) { if ( window.getComputedStyle ) {
......
...@@ -250,7 +250,7 @@ jQuery.extend({ ...@@ -250,7 +250,7 @@ jQuery.extend({
// Implement the identical functionality for filter and not // Implement the identical functionality for filter and not
function winnow( elements, qualifier, keep ) { 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 // Set to 0 to skip string check
qualifier = qualifier || 0; qualifier = qualifier || 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment