Permalink
Browse files

Removed NFE to make old Safari happy and avoid leaks in IE (as per Da…

…vid Murdoch's warning).
  • Loading branch information...
jaubourg
jaubourg committed Dec 21, 2010
1 parent 1db2f02 commit c810c62a67ca91785b214ce54950a1fc12592ef1
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 );
}

0 comments on commit c810c62

Please sign in to comment.