Thanks
What do you other guys think, are you interested in a patch with test
or would it just be a waste of time? :)

Martin

On 2/5/07, Mislav Marohnić <[EMAIL PROTECTED]> wrote:
> Wow, Martin. That is nice :D
>
>
> On 2/5/07, Martin Ström <[EMAIL PROTECTED]> wrote:
> >
> > function Element(tagName, options) {
> >         return
> Element.extend(document.createElement(tagName)).writeAttributes(options
> > || {});
> > }
> >
> > This way it would be really easy to create new elements when you don't
> > need the full functionallity from Builder with all it's fixes and
> > tweaks:
> >
> > var myHeader = new Element('div', {id: 'header'});
> > $('container').appendChild(myHeader);
> >
> > What do you think? I would happily provide a patch with tests if you
> > like this approach.
>
>
>  >
>


-- 
burnfield.com/martin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to