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
70498775
Commit
70498775
authored
Mar 20, 2013
by
Michał Gołębiowski
Committed by
Dave Methvin
Apr 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct oldIE-related comments, revert some workarounds. Close gh-1207.
parent
ba16ba2e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
17 deletions
+10
-17
CONTRIBUTING.md
CONTRIBUTING.md
+4
-2
ajax.js
src/ajax.js
+1
-1
attributes.js
src/attributes.js
+3
-6
core.js
src/core.js
+1
-7
effects.js
src/effects.js
+1
-1
No files found.
CONTRIBUTING.md
View file @
70498775
...
...
@@ -207,10 +207,12 @@ This will only run the "css" module tests. This will significantly speed up your
**ALWAYS RUN THE FULL SUITE BEFORE COMMITTING AND PUSHING A PATCH!**
### jQuery supports the following browsers:
### jQuery
2.x
supports the following browsers:
*
Chrome Current-1
*
Safari Current-1
*
Firefox Current-1
*
IE
6
+
*
IE
9
+
*
Opera Current-1
jQuery 1.x additionally supports IE6+.
src/ajax.js
View file @
70498775
...
...
@@ -8,7 +8,7 @@ var
ajax_rquery
=
/
\?
/
,
rhash
=
/#.*$/
,
rts
=
/
([
?&
])
_=
[^
&
]
*/
,
rheaders
=
/^
(
.*
?)
:
[
\t]
*
([^\r\n]
*
)
\r?
$/mg
,
// IE leaves an \r character at EOL
rheaders
=
/^
(
.*
?)
:
[
\t]
*
([^\r\n]
*
)
$/mg
,
// #7653, #8125, #8152: local protocol detection
rlocalProtocol
=
/^
(?:
about|app|app-storage|.+-extension|file|res|widget
)
:$/
,
rnoContent
=
/^
(?:
GET|HEAD
)
$/
,
...
...
src/attributes.js
View file @
70498775
...
...
@@ -23,11 +23,8 @@ jQuery.fn.extend({
removeProp
:
function
(
name
)
{
name
=
jQuery
.
propFix
[
name
]
||
name
;
return
this
.
each
(
function
()
{
// try/catch handles cases where IE balks (such as removing a property on window)
try
{
this
[
name
]
=
undefined
;
delete
this
[
name
];
}
catch
(
e
)
{}
this
[
name
]
=
undefined
;
delete
this
[
name
];
});
},
...
...
@@ -249,7 +246,7 @@ jQuery.extend({
for
(
;
i
<
max
;
i
++
)
{
option
=
options
[
i
];
//
oldIE
doesn't update selected after form reset (#2551)
//
IE6-9
doesn't update selected after form reset (#2551)
if
(
(
option
.
selected
||
i
===
index
)
&&
// Don't return options that are disabled or in a disabled optgroup
(
jQuery
.
support
.
optDisabled
?
!
option
.
disabled
:
option
.
getAttribute
(
"disabled"
)
===
null
)
&&
...
...
src/core.js
View file @
70498775
...
...
@@ -133,13 +133,7 @@ jQuery.fn = jQuery.prototype = {
// Check parentNode to catch when Blackberry 4.6 returns
// nodes that are no longer in the document #6963
if
(
elem
&&
elem
.
parentNode
)
{
// Handle the case where IE and Opera return items
// by name instead of ID
if
(
elem
.
id
!==
match
[
2
]
)
{
return
rootjQuery
.
find
(
selector
);
}
// Otherwise, we inject the element directly into the jQuery object
// Inject the element directly into the jQuery object
this
.
length
=
1
;
this
[
0
]
=
elem
;
}
...
...
src/effects.js
View file @
70498775
...
...
@@ -279,7 +279,7 @@ function defaultPrefilter( elem, props, opts ) {
// height/width overflow pass
if
(
elem
.
nodeType
===
1
&&
(
"height"
in
props
||
"width"
in
props
)
)
{
// Make sure that nothing sneaks out
// Record all 3 overflow attributes because IE
does
not
// Record all 3 overflow attributes because IE
9-10 do
not
// change the overflow attribute when overflowX and
// overflowY are set to the same value
opts
.
overflow
=
[
style
.
overflow
,
style
.
overflowX
,
style
.
overflowY
];
...
...
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