0.3.0 • Published 5 years ago

no_jq v0.3.0

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
5 years ago

NJQ

A small JQuery replacement for simple apps running on modern browsers

Why?

I sometimes write simple web apps that need a simple, fast, and small library to perform simple operations that are often performed using JQuery. Although JQuery is impressive at supporting many different browsers and providing so much functionality, I sometimes need a more straightforward and faster library. NJQ is this library.

Does it work on my browser?

Probably, but you can check out for yourself by visiting this page.

CDN

Starting from version 0.3.0 the library is now available by Stefano's CDN; the library is hosted under a domain owned and operated by Stefano Vazzoler and protected by CloudFlare. It should be pretty fast for small to medium project, but if you're expecting a considerably high load consider giving me a heads-up so I can prepare for it or consider hosting it yourself.

<!-- Full version -->
<script src="https://cdn.rkt.one/njq/030/njq.js" integrity="sha384-sxakO0qjCIUSifXubQ4qnPaj67tIs8MYtS2Zh/nmTYyDRM/6g5r+2rO88RlJ14Rt" crossorigin="anonymous"></script>
<!-- No Ajax (get/post) -->
<script src="https://cdn.rkt.one/njq/030/njq_na.js" integrity="sha384-7VCCj2vaV/th3tgUZ+N9hL7cyYN8bCfsQ+gUXDnTtQrA0/h9cZuZ17SiKuBVDKw3" crossorigin="anonymous"></script>

What version should I choose?

A few versions are provided. Depending on what your needs are, you might prefer some compared to others. Here's a handy chart:

Fileajax*size**
njq###.min.jsyes2.1 KB
njq###na.min.jsno1.3 KB

* if you need any ajax request (ajax(), post(), and get()) use this version

** size for the min file, version 0.3.0, not gzipped

How do I download it?

You can download this program at the releases page on Github.

Warning: Not recommended For the latest updates, features, and fixes you can experiment with the raw development version; just save this file.

Versions

NJQ follows tentatively Semantic Versioning 2.0.0.

Changelog

0.3.0

  • Added concatenation of functions
  • 20% smaller (30% smaller for na version)
  • Removed log (no dev version)
  • Renamed isEmptyObject to emptyObj and encodeDataForURI to encodeUri

0.2.0

Check GitHub commits