Skip to content
Yet another jQuery Replacement (lightweight and polyfill)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmark
docs
.gitignore
.travis.yml
LICENSE
README.md
_config.yml
package-lock.json
package.json
yaj.js
yaj.min.js
yaj.min.js.map
yaj.test.js

README.md

Yaj.js

npm Build Status Documentation Status

Yaj is a achronymous of "Yet Another jQuery Replacement". This intend to be a very lightweigth script (less than 3kb minified and gzipped) and have the most used jQuery methods as a polyfill class supporting since IE6 to the modern browsers.

This is not intended to fully replace or even to be compatible with jQuery and Zepto. But can be used to avoid conflits with previous jQuery implementations or as an alternative.

Yaj main class is not "$" or "_". Instead we use "yo" (because yaj is also spin quickly in a pirouette and then snap and point at a person, uttering the greeting, "yo.")

For example:

yo('#some .selector').addClass('class').removeClass('otherclass').show();

Documentation

The documentation is hosted on Read the Docs at yaj.readthedocs.io

You can’t perform that action at this time.