Make sure try/catch/finally is used instead of try/finally [#421 state:resolved]
This commit is contained in:
parent
1a375daea2
commit
c7a5d3480e
@ -1,4 +1,6 @@
|
||||
* . Use `in` operator when accessing property of a nodelist to prevent Safari <=2.0.4 from crashing (kangax)
|
||||
* Make sure try/catch/finally is used instead of try/finally for clients without support for the latter one (e.g. Blackberry, IE) (Ville Koskinen, kangax)
|
||||
|
||||
* Use `in` operator when accessing property of a nodelist to prevent Safari <=2.0.4 from crashing (kangax)
|
||||
|
||||
* Add Element#clone as a safe wrapper of native `cloneNode`. (Andrew Dupont, kangax)
|
||||
|
||||
|
@ -52,9 +52,12 @@ var PeriodicalExecuter = Class.create({
|
||||
try {
|
||||
this.currentlyExecuting = true;
|
||||
this.execute();
|
||||
} finally {
|
||||
} catch(e) {
|
||||
/* empty catch for clients that don't support try/finally */
|
||||
}
|
||||
finally {
|
||||
this.currentlyExecuting = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user