Applies exception in Style Guidelines regarding objects and functions when they are the last argument of a function call.
This commit is contained in:
parent
7a1c6beab0
commit
2594a935de
6 changed files with 10 additions and 10 deletions
|
@ -128,7 +128,7 @@ jQuery.extend({
|
|||
} else {
|
||||
deferred[ handler ]( newDefer[ action ] );
|
||||
}
|
||||
} );
|
||||
});
|
||||
}).promise();
|
||||
},
|
||||
// Get a promise for this deferred
|
||||
|
@ -146,7 +146,7 @@ jQuery.extend({
|
|||
}
|
||||
return obj;
|
||||
}
|
||||
} );
|
||||
});
|
||||
// Make sure only one callback list will be used
|
||||
deferred.done( failDeferred.cancel ).fail( deferred.cancel );
|
||||
// Unexpose cancel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue