[twdev] Re: deprecated setStylesheet and removeStyleSheet in favor of jquery.stylesheet

2009-05-11 Thread Jeremy Ruston
> > >> +// N.B.: Uses DOM methods instead of jQuery to ensure cross-browser > comaptibility. > > > > I though much of the point of libraries like jQuery was to make it so > > you didn't have to ensure cross-browser compatibility? > More background: TiddlyWiki's implementation of setStylesheet() i

[twdev] Re: deprecated setStylesheet and removeStyleSheet in favor of jquery.stylesheet

2009-05-11 Thread FND
Thanks for taking the time to review the code, Chris! >> +// N.B.: Uses DOM methods instead of jQuery to ensure cross-browser >> comaptibility. > > I though much of the point of libraries like jQuery was to make it so > you didn't have to ensure cross-browser compatibility? I've discussed this

[twdev] Re: deprecated setStylesheet and removeStyleSheet in favor of jquery.stylesheet

2009-05-11 Thread cd...@peermore.com
On May 11, 4:29 pm, s...@tiddlywiki.org wrote: > +// Add or replace a style sheet > +// css argument is a string of CSS rule sets > +// options.id is an optional name identifying the style sheet > +// options.doc is an optional document reference > +// N.B.: Uses DOM methods instead of jQuery to