The code I was working on with John yesterday is at:
http://gist.github.com/14666
Note that it was very quick and dirty, and more of a port into John's stuff
than working code.

What would happen with this code is that initialize would be called, then
any addOptions, and then start. I think John had a way to do this without
separate methods.

-- Yehuda

On Sat, Oct 4, 2008 at 2:57 AM, Jörn Zaefferer <
[EMAIL PROTECTED]> wrote:

> Could you add your $.plugin.addOption example to the tabs example?
> Would help getting an idea how those would play together.
>
> Jörn
>
> On Fri, Oct 3, 2008 at 8:16 AM, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> > Hey guys,
> > At TAE, I spoke to a number of you guys about modular code, and some of
> you
> > asked me to put together some examples. In addition to the simple
> > autocompleter I put together for my talk at jQueryConf and TAE, I put
> > together a simple example of an extensible tab plugin.
> > It's not intended to be feature complete, but to get the conversation
> > started about how to design extensible, modular widgets using the event
> > system. It's also not meant to be the perfect way to do this; again, I
> just
> > whipped something up on the plane.
> > Also, if something like the widget factory or John's plugin code becomes
> > standard, it would be possible to standardize some of the idioms here.
> I'm
> > interested in your feedback. The idea here is that the part on top, until
> > line 47, defines the basic semantics of the tabs, and additional
> semantics
> > (including the default semantics) are provided modularly.
> > The code is at: http://gist.github.com/14517
> >
> > --
> > Yehuda Katz
> > Developer | Engine Yard
> > (ph) 718.877.1325
> >
> > >
> >
>
> >
>


-- 
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

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

Reply via email to