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
20a7bff4
Commit
20a7bff4
authored
May 13, 2008
by
Ariel Flesler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jquery event & fx: tidying some comments.
parent
70b5e670
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
event.js
src/event.js
+4
-2
fx.js
src/fx.js
+2
-1
No files found.
src/event.js
View file @
20a7bff4
...
...
@@ -244,7 +244,8 @@ jQuery.event = {
namespace
=
event
.
type
.
split
(
"."
);
event
.
type
=
namespace
[
0
];
namespace
=
namespace
[
1
];
all
=
!
namespace
&&
!
event
.
exclusive
;
//cache this now, all = true means, any handler
// Cache this now, all = true means, any handler
all
=
!
namespace
&&
!
event
.
exclusive
;
handlers
=
(
jQuery
.
data
(
this
,
"events"
)
||
{}
)[
event
.
type
];
...
...
@@ -346,7 +347,8 @@ jQuery.event = {
proxy
:
function
(
fn
,
proxy
){
// Set the guid of unique handler to the same of original handler, so it can be removed
proxy
.
guid
=
fn
.
guid
=
fn
.
guid
||
proxy
.
guid
||
this
.
guid
++
;
return
proxy
;
//so proxy can be declared as an argument
// So proxy can be declared as an argument
return
proxy
;
},
special
:
{
...
...
src/fx.js
View file @
20a7bff4
...
...
@@ -405,7 +405,8 @@ jQuery.extend( jQuery.fx, {
speeds
:{
slow
:
600
,
fast
:
200
,
def
:
400
//default speed
// Default speed
def
:
400
},
step
:
{
scrollLeft
:
function
(
fx
){
...
...
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