Overview
Joquer is a Javascript library that implements the jQuery API for browsers that support standard APIs. To enable cross-browser use of joquer it can be combined with a Javascript standards layer such as SLAB or base2.
The purpose of joquer is not to support jQuery development, but to enable people to still use their current jQuery code-base while moving towards standards-based development.
Conformance
Joquer should support all the public API specified in the jQuery API Reference with the exception of the following features.
Event Delegation
jQuery
live() and
die() are not supported.
A non-compatible event delegation feature may be added in the future.
Non-standard selectors
Joquer relies on the browser (or standards library) provided selector engine and
will not support jQuery's non-standard selectors -
:first, :last, :even, :odd, :eq(), :gt(), :lt(), :header, :animated,
:contains(), :has(), :parent,
:input, :text, :password, :radio, :checkbox, :submit, :image, :reset, :button, :file
Joquer does support the implied scope for queries such as
$(">div", element) or $(element).find(">div").
Miscellaneous
Joquer does not support the following specialized method signatures:
toggleClass(class, switch)attr(key, fn)
jQuery UI
Because joquer does not fully support the jQuery API (especially the non-standard selectors) many of the jQuery UI widgets do not work. To facilitate use of jQuery UI widgets there is also the joquer-ui project, which is a minimally modified clone of the jQuery UI code.
Licensing
Joquer is available under the Creative-Commons Attribution, No-Derivatives license. If you aren't sure whether that applies to your intended usage then contact me for specific approval. The following list are guides for some specific scenarios:
- you can use the library in any web-page by including a script element linking to the original file on the meekostuff.net domain
- you can also copy the library to the domain of the web-page and link to it there
- you can copy the library to another domain for the purpose of redistribution provided you acknowledge that it is the joquer library and that you provide a link to the joquer project page at meekostuff.net.
Long-term licensing is yet to be decided - please check the license conditions of new releases before use.