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:
e405419
)
Fixes #8353. Adds a catch block in resolveWith so that the finally block gets execute...
author
jaubourg
<j@ubourg.net>
Wed, 23 Feb 2011 01:50:27 +0000
(
02:50
+0100)
committer
jaubourg
<j@ubourg.net>
Wed, 23 Feb 2011 01:50:27 +0000
(
02:50
+0100)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
31330e8
..
87b24c8
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-843,6
+843,12
@@
jQuery.extend({
callbacks.shift().apply( context, args );
}
}
+ // We have to add a catch block for
+ // IE prior to 8 or else the finally
+ // block will never get executed
+ catch (e) {
+ throw e;
+ }
finally {
fired = [ context, args ];
firing = 0;