Re: [Prototype-core] Re: Event.observe(window, 'load'.. issue not fixed!

2010-04-19 Thread Демид Заянковский
No, unfortunately the order is till not preserved for DOM:LOADED event. Thank you for your suggestion. 2010/4/15 Mislav Marohnić mislav.maroh...@gmail.com I think that dom:loaded handlers should execute in order, since it's a custom event. Try those instead of load. document.on(dom:loaded,

Re: [Prototype-core] Re: Event.observe(window, 'load'.. issue not fixed!

2010-04-19 Thread Демид Заянковский
In any case, I don't think it would be a fix Well, that's a shame. I know that browsers do not gurantee the order in which the event handlers execute, but it is such a convinient and straightforward approach to do so, isn't it. That is why Firefox, Opera and all the best browsers embraced it. IE

Re: [Prototype-core] Re: Event.observe(window, 'load'.. issue not fixed!

2010-04-19 Thread Демид Заянковский
Well, to be honest, I've been focusing on Firefox and Opera mainly when developing software and never even thought that order is not guaranteed, before the task to support IE arrived! So there is plenty of code to refactor, which is very frustrating. I know that relying on event order isn't a best