4query -> jQuery Labs?

4query -> jQuery Labs?


I've been thinking about my 4query offsite branch and the merits of
something more tied to jQuery.
A project more involved with jQuery definitely has the advantage of
being much easier to keep compatibility and avoid the code differing to
much.
jQuery has strong policies on things being compatible with all browsers,
and a number of other things wouldn't fit in jQuery itself right away.
What about something like a jQuery Labs project. The project could work
on experimental, and preemptive features. Things like HTML5 stuff,
partially standardized / implemented features, making a lot more
internals transparently extensible, modularizing the code and supporting
a jQuery.ui like system for bundling jQuery, and various other ideas
people could suggest which could be worked on.
I actually have half the code for a module that adds borderRadius css
support (All the css.get code, working on the css.set). It adds a
interface that follows the w3 draft, works in Gekko and Safari, and
gracefully falls back in other browsers. It's also future compatible so
if you're using .css({borderRadius: 10}); now it'll still work in a few
years when browsers fix up their implementation of the spec (FF doesn't
support irregulars, Webkit doesn't let you get borderRadius on it's own;
and neither of them understand the "horiz / vert" syntax in the spec now
that the ambiguity has been resolved) and implement real borderRadius
support rather than vendor extensions.
Originally I was going to directly support it in the library, but after
working for awhile making it fully compatible the code is about 2-3x the
size of the code for opacity via filter support. So instead I setup a
fairly nice method of making it possible for plugins to implement this
kind of extra compatibility where desired.
Things like borderRadius would probably become part of an optional
compatibility module which the bundler would let you pick if included or
not.
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://nadir-seen-fire.com]
-Nadir-Point & Wiki-Tools (http://nadir-point.com) (http://wiki-tools.com)
-MonkeyScript (http://monkeyscript.org)
-Animepedia (http://anime.wikia.com)
-Narutopedia (http://naruto.wikia.com)
-Soul Eater Wiki (http://souleater.wikia.com)