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:
fef0f63
)
Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch...
author
jaubourg
<aubourg.julian@gmail.com>
Tue, 21 Dec 2010 16:04:07 +0000
(17:04 +0100)
committer
jaubourg
<j@ubourg.net>
Fri, 31 Dec 2010 02:56:11 +0000
(
03:56
+0100)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
d141c4d
..
34d8094
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-800,7
+800,7
@@
jQuery.extend({
deferred = {
// then( f1, f2, ...)
- then: function then() {
+ then: function () {
if ( ! cancelled ) {
@@
-820,7
+820,7
@@
jQuery.extend({
elem = args[ i ];
type = jQuery.type( elem );
if ( type === "array" ) {
- then.apply( this , elem );
+ deferred.then.apply( deferred , elem );
} else if ( type === "function" ) {
callbacks.push( elem );
}