IMHO it would be the better way to make the Insertion class be aware of dom
content and use it in the element methods, which would allow both "new
Insertion.XXX" and "$('el').insertXXX". I do not understand why the
Abstract.Insertion Class only takes a string...

The rewrite isn't that big and should not have deep impact on performance,
compatibility or something else.

I've just created

brgds, sigi

On 3/21/07, Mislav Marohnić <[EMAIL PROTECTED]> wrote:
> On 3/20/07, Colin Mollenhour <[EMAIL PROTECTED]> wrote:
> >
> >
> > I suggest only using those methods if you need guarantees that you are
> > getting a DOM element and not a text node. In this case I would argue
> > that you *do* want text nodes.
> I second that. The methods we're discussing here should operate using W3C
> DOM methods, not the Prototype Traversal Pack. It's faster *and* more
> correct.
> >

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to