Thanks for pointing me to the bug.
Now I realize it is a systemic problem.
I think the Prototype syntactic sugar for inheritance is clearer to
understand and read than YUI's though both probably do the same thing under
the hood.

On Wed, Apr 8, 2009 at 10:30 AM, Trevan Richins <develo...@ckiweb.com>wrote:

>
> If you are planning on extending YUI classes using Prototype's
> Class.create, you might want to look at the bottom of this bug:
>
>
> https://prototype.lighthouseapp.com/projects/8886/tickets/151-extending-yui-objects-with-prototype
>
> Trevan
>
> On 4/7/2009 3:59 PM, Ananth wrote:
> > I am unable to do the following within the Yahoo UI Library framework
> > with Scriptaculous:
> >
> > YAHOO.namespace("mycompanyname");
> > YAHOO.mycompanyname.MyClass=Class.create({
> >             initialize:function()
> >             {
> >
> >             }
> >             ,
> >             anotherFunction:function(options)
> >            {
> >
> >            }
> > });
> > YAHOO.register("YAHOO.mycompanyname.ModaViews",
> > YAHOO.mycompanyname.ModaViews, {version: "0.99", build: '11'});
> >
> >
> > Any ideas? Also new Element(id,{}); does not work on IE 6..
> >
> > Thanks!
> >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to