Re: [jQuery] jQBrowser 0.2 woes

2006-09-15 Thread Jan Sorgalla
Dave Cardwell wrote: Actually thinking again, delete from var public = { right down to (and including) $.browser = public;, and after the var private = {} block, add $.browser = private;. That should work better. Note that public and private are reserved names in javascript. Most

Re: [jQuery] jQBrowser 0.2 woes

2006-09-15 Thread Dave Cardwell
Thanks for the heads up - I'll sort that this weekend too. Best wishes, Dave Cardwell ~ http://davecardwell.co.uk/ Jan Sorgalla wrote: Dave Cardwell wrote: Actually thinking again, delete from var public = { right down to (and including) $.browser = public;, and after the var private = {}

[jQuery] jQBrowser 0.2 woes

2006-09-13 Thread aedmonds
I recently noticed that a new version of jQBrowser was available and I like the new features but it appears to be breaking jQuery all over the place when I try and use it with jQuery Rev 249. It also conflicts with Interface as it uses some checks for MS IE. Basically it make Interface think that

Re: [jQuery] jQBrowser 0.2 woes

2006-09-13 Thread Dave Cardwell
Hi Aaron. I've received a few emails from people asking to change back to using $.browser.msie, and as such the 1.0 release will do so. In the meantime I'd recommend either switching back to 0.1, or the following change to the source *should* work (untested): Switch the line: $.browser =

Re: [jQuery] jQBrowser 0.2 woes

2006-09-13 Thread Christof Donat
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

Re: [jQuery] jQBrowser 0.2 woes

2006-09-13 Thread Dave Cardwell
Actually thinking again, delete from var public = { right down to (and including) $.browser = public;, and after the var private = {} block, add $.browser = private;. That should work better. Best wishes, Dave Cardwell ~ http://davecardwell.co.uk/ Dave Cardwell wrote: Hi Aaron. I've

Re: [jQuery] jQBrowser 0.2 woes

2006-09-13 Thread Dave Cardwell
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 ~