Note that finally is always executed, even after entering a catch blog. It is basically useless.
For your specific XHR problem, you may want to look at this snippet from MooTools Core: http://github.com/mootools/mootools-core/blob/master/Source/Browser/Browser.js#L66-91 On Jul 30, 8:39 am, jiggliemon <[email protected]> wrote: > Thanks.http://jsfiddle.net/jiggliemon/b5LaZ/embedded/ > > -Chase > > On Jul 29, 2:09 pm, Sanford Whiteman <[email protected]> > wrote: > > > > > > So I thought what a great time to use a self-referential function. > > > However I can't seem to get it to work. Does anyone have insight as > > > to how/if at all, this could work? > > >http://jsfiddle.net/jiggliemon/a7xWq/2/ > > > return from the finally{} > > > http://jsfiddle.net/a7xWq/11/ > > > -- S. > > > ------------------------------------ > > Sanford Whiteman, Chief Technologist > > Broadleaf Systems, a division of > > Cypress Integrated Systems, Inc. > > e-mail: [email protected] > > ------------------------------------
