aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-03-26 04:45:09 +0100
committerDave Methvin <dave.methvin@gmail.com>2013-04-03 21:21:23 -0400
commit5aaa276e9e0041d099c954fc2744f0797e3893b0 (patch)
tree92dae845c6d5ffb5b50e86fb6ccc4eea6bdcbd49
parent8db7d6f20b4226994e88d1cd9243743c492773f5 (diff)
downloadjquery-5aaa276e9e0041d099c954fc2744f0797e3893b0.tar.gz
jquery-5aaa276e9e0041d099c954fc2744f0797e3893b0.zip
Remove an unused support check, correct a comment. Close gh-1211.
-rw-r--r--src/support.js1
-rw-r--r--src/traversing.js2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/support.js b/src/support.js
index b80957a39..67ba005dc 100644
--- a/src/support.js
+++ b/src/support.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 ) {
diff --git a/src/traversing.js b/src/traversing.js
index f279dabf4..81c1e5b57 100644
--- a/src/traversing.js
+++ b/src/traversing.js
@@ -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;