> Why isn't this issue still
> fixed?!
You say "still." Is there an _open_ bug report for it in
Lighthouse[1]? Because if there isn't, it's not going to be "fixed."
In any case, I don't think it would be a fix, it would be an
enhancement. As far as I know, Prototype does not make any guarantee
as to the order in which multiple event handlers on an element will be
called (because there is no guarantee provided by the underlying
APIs). To do so, Prototype would have to replace the browser's list of
event observers with its own, which would be overkill (IMHO).
[1] http://prototype.lighthouseapp.com/projects/8886-prototype/overview
--
T.J. Crowder
Independent Software Consultant
tj / crowder software / com
www.crowdersoftware.com
--
You received this message because you are subscribed to the Google Groups "Prototype: Core" group.
To post to this group, send email to prototy...@googlegroups.com
To unsubscribe from this group, send email to prototype-cor...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en
To unsubscribe, reply using "remove me" as the subject.
If you have order dependencies, can I suggest reworking your code? One workaround Javascript provides is the ability to pass, assign, and wrap functions. e.x.:
var A = function() {alert('A');}
var A2 = A;
A = function() {alert('New A'); A2();}
A(); // Alerts "New A", then alerts "A"
See also, Function#wrap in Prototype. [ http://api.prototypejs.org/language/function/prototype/wrap/ ]
If you choose that route, further questions on that feature should be sent to the users' group.
TAG
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", function(){ ... })
--
You received this message because you are subscribed to the Google Groups "Prototype: Core" group.
To post to this group, send email to prototy...@googlegroups.com
To unsubscribe from this group, send email to prototype-cor...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en
--
You received this message because you are subscribed to the Google Groups "Prototype: Core" group.
To post to this group, send email to prototy...@googlegroups.com
To unsubscribe from this group, send email to prototype-cor...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en
To unsubscribe, reply using "remove me" as the subject.