block by joyrexus 7307525

Minimal jquery sans jquery

Full Screen

Quick demo how you can package up the vanilla-js equivalents of jquery methods to emulate jquery.


Avoid using jquery when you just need to select elements or make a simple ajax request.

See this gist for an overview of vanilla-js equivalents of additional jquery methods.

index.html

sans-jq.coffee

sans-jq.js