Skip to content

Commit

Permalink
Remove an unused support check, correct a comment. Close gh-1211.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol authored and dmethvin committed Apr 4, 2013
1 parent 8db7d6f commit 5aaa276
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down
2 changes: 1 addition & 1 deletion src/traversing.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5aaa276

Please sign in to comment.