> I noticed that you have added String.prototype.trim. jQuery actually > has this already, e.g. jQuery.trim(" foo ");
Wow, I totally missed this, thanks, I'll get it changed over. > An easy was to get better CSS support in browsers that are not up to > it. Maybe in a future version, browsers that are capable will just be > ignored? Yep, absolutely. If you have any ideas on how we could test a browsers support for a selector without maintaining a hard coded list then I would love to hear them. > Also, maybe best to wrap it in a closure: > > (function($) { > // plugin code here, use $ as much as you like > > })(jQuery); Yep, totally agree, this is in the next version. (Like I said, I was very tired!). Thanks for the feedback, Andy. On 8 Oct, 11:37, Sam Collett <[EMAIL PROTECTED]> wrote: > I noticed that you have added String.prototype.trim. jQuery actually > has this already, e.g. jQuery.trim(" foo "); > > An easy was to get better CSS support in browsers that are not up to > it. Maybe in a future version, browsers that are capable will just be > ignored? > > Also, maybe best to wrap it in a closure: > > (function($) { > // plugin code here, use $ as much as you like > > })(jQuery); > > On Oct 7, 12:39 am, Andy Kent <[EMAIL PROTECTED]> wrote: > > > Hi Guys, > > > This is a plug-in that was thrown together in a few spare hours after > > chatting with some people at FOWA last week, I hadn't had much sleep > > at the time so it's still a bit rough round the edges. > > > In a nutshell though it gives you full support for all jQuery > > selectors from within your CSS files in a totally unobtrusive mannor. > > This effectively means cross browser CSS3 support via JavaScript. > > > You can find out more and grab it from: > > >http://andykent.bingodisk.com/bingo/public/jss/ > > > Any feedback, good or bad would be appreciated. > > > Thanks, > > Andy.