Skip to content
Permalink
Browse files

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

  • Loading branch information...
mgol authored and dmethvin committed Mar 26, 2013
1 parent 8db7d6f commit 5aaa276e9e0041d099c954fc2744f0797e3893b0
Showing with 1 addition and 2 deletions.
  1. +0 −1 src/support.js
  2. +1 −1 src/traversing.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 ) {
@@ -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;

0 comments on commit 5aaa276

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.