[Prototype-core] Proposed rewrite of $$/Selector

2007-01-19 Thread Andrew Dupont
I posted about this on Basecamp, but now that we've started to use this list I'm going to post it here for public consumption. We've talked about optimizing $$ in the past -- it's one of my personal goals for 1.5.1. So I took great interest in Jack Slocum's new DomQuery extension for YUI (http:/

[Prototype-core] Re: Unified browser detection patch

2007-01-19 Thread Thomas Fuchs
Good point and agreed. :) The more I think of it, the less I actually need to use browser detection, because Prototype does all the things for me, so we can safely store away this in the Prototype object. It isn't really used that much, even not in extensions libraries, but a Prototype.B

[Prototype-core] Re: Proposal related to .cloneNode

2007-01-19 Thread Andrew Dupont
On Jan 19, 3:42�am, "Mislav Marohni " <[EMAIL PROTECTED]> wrote: Also, tell us if this behavior is consistent among browsers The only browsers to worry about are IE 6 and 7, since other browsers have the native extensions. --~--~-~--~~~---~--~~ You received th

[Prototype-core] Re: Unified browser detection patch

2007-01-19 Thread Andrew Dupont
I took a cue from Sam's "Prototype.BrowserFeatures" object. I am not against adding to the namespaces, but I want to make sure it's done judiciously and carefully. Note that typng "Prototype.Browser.KHTML" is still easier than typing "navigator.userAgent.test(/KHTML/)". And while I don't think