mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Remove an unused support check, correct a comment. Close gh-1212.
This commit is contained in:
parent
4adde5d145
commit
674d34f021
@ -180,7 +180,6 @@ jQuery.support = (function( support ) {
|
||||
div.innerHTML = "";
|
||||
div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";
|
||||
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 ) {
|
||||
|
@ -246,7 +246,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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user