I use a public interface to prevent direct access to what should be private state inside the object. Upon recent reflection, with JavaScript the added complexity probably just isn't worth it, so I will be modifying the plugin to suit in the near future.
Best wishes, Dave Cardwell ~ http://davecardwell.co.uk/ Christof Donat wrote: > Hi, > >> Has anyone else had this problem? I would imagine it has to do with the >> change of object properties ($.browser.msie) to methods ($.browser.msie()). > > pretty shure. > > @dave: I don't understand why you whant to use functions anyway here. > I suggest you simply use your private object as public and be happy. Maybe I > simpy don't understand the trick. > > Christof > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/