git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
812a247
)
Removed extraneous thisObject references. Thanks to Matt Dunlap for the heads-up.
author
John Resig
<jeresig@gmail.com>
Thu, 14 Jan 2010 06:42:08 +0000
(
01:42
-0500)
committer
John Resig
<jeresig@gmail.com>
Thu, 14 Jan 2010 06:42:08 +0000
(
01:42
-0500)
src/event.js
patch
|
blob
|
history
diff --git
a/src/event.js
b/src/event.js
index
c826f17
..
f36139f
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-765,7
+765,6
@@
jQuery.each(["bind", "one"], function( i, name ) {
}
if ( jQuery.isFunction( data ) ) {
- thisObject = fn;
fn = data;
data = undefined;
}
@@
-776,7
+775,7
@@
jQuery.each(["bind", "one"], function( i, name ) {
}) : fn;
return type === "unload" && name !== "one" ?
- this.one( type, data, fn, thisObject ) :
+ this.one( type, data, fn ) :
this.each(function() {
jQuery.event.add( this, type, handler, data );
});