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
b2c2ab2b
Commit
b2c2ab2b
authored
Feb 25, 2007
by
Brandon Aaron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for #997
parent
b93051f5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ChangeLog.txt
ChangeLog.txt
+2
-1
jquery.js
src/jquery/jquery.js
+1
-1
No files found.
ChangeLog.txt
View file @
b2c2ab2b
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
=== 1.1.2 ===
=== 1.1.2 ===
* Fixed jQuery.isFunction to return false on nodes.
* Fixed jQuery.className.has, escaping regex characters in className (for metadata)
* Fixed an issue in IE where an event on a cloned element is fired during a .clone() inside of an event handler.
* Fixed an issue in IE where an event on a cloned element is fired during a .clone() inside of an event handler.
* Fixed IE ID selectors selecting by the name attribute.
* Fixed IE ID selectors selecting by the name attribute.
* Change: Events are now internally stored in elem.$events rather than elem.events (due to a nasty bug relating to DOM 0 expandos).
* Change: Events are now internally stored in elem.$events rather than elem.events (due to a nasty bug relating to DOM 0 expandos).
...
@@ -13,7 +15,6 @@
...
@@ -13,7 +15,6 @@
* Having a \r endline in $("...") caused a never-ending loop.
* Having a \r endline in $("...") caused a never-ending loop.
* Fixed IE6 AJAX memory leak
* Fixed IE6 AJAX memory leak
* Fixed bug in pushStack, reporting an element at [0] in a jQuery object with length 0
* Fixed bug in pushStack, reporting an element at [0] in a jQuery object with length 0
* Fixed jQuery.className.has, escaping regex characters in className (for metadata)
=== 1.1.1 ===
=== 1.1.1 ===
...
...
src/jquery/jquery.js
View file @
b2c2ab2b
...
@@ -1227,7 +1227,7 @@ jQuery.extend({
...
@@ -1227,7 +1227,7 @@ jQuery.extend({
// This may seem like some crazy code, but trust me when I say that this
// This may seem like some crazy code, but trust me when I say that this
// is the only cross-browser way to do this. --John
// is the only cross-browser way to do this. --John
isFunction
:
function
(
fn
)
{
isFunction
:
function
(
fn
)
{
return
!!
fn
&&
typeof
fn
!=
"string"
&&
return
!!
fn
&&
typeof
fn
!=
"string"
&&
!
fn
.
nodeName
&&
typeof
fn
[
0
]
==
"undefined"
&&
/function/i
.
test
(
fn
+
""
);
typeof
fn
[
0
]
==
"undefined"
&&
/function/i
.
test
(
fn
+
""
);
},
},
...
...
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