In this quick tip screencast, I'm going to show you a trick that I bet you don't know about. Did you know that, as of jQuery 1.8, you can now build a custom version of the library?
Why Would You?
Imagine that you're working on a relatively simple project that doesn't have any need for jQuery's AJAX or CSS capabilities? Well, in these cases, it sure is a shame to keep all of that code in the library, if you're never going to need it.
That's where custom builds come in. By merely running a couple of commands, you can specify that your custom version of jQuery should exclude those two modules.
Give me a few minutes, and I'll show you how!
Envato Tuts+ tutorials are translated into other languages by our community members—you can be involved too!Translate this post