Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
674d34f0
Commit
674d34f0
authored
Mar 26, 2013
by
Michał Gołębiowski
Committed by
Dave Methvin
Apr 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove an unused support check, correct a comment. Close gh-1212.
parent
4adde5d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
support.js
src/support.js
+0
-1
traversing.js
src/traversing.js
+1
-1
No files found.
src/support.js
View file @
674d34f0
...
@@ -180,7 +180,6 @@ jQuery.support = (function( support ) {
...
@@ -180,7 +180,6 @@ jQuery.support = (function( support ) {
div
.
innerHTML
=
""
;
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%;"
;
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
.
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
)
{
...
...
src/traversing.js
View file @
674d34f0
...
@@ -246,7 +246,7 @@ jQuery.extend({
...
@@ -246,7 +246,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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment