@raynos I agree completely. Would love to know your thoughts on MooTools though. I use it in pretty much every project but only when required.
If some site only has one event to show an element I will polyfill the events myself (attatchEvent -> addEventListener, I hate you Microsoft) and save the page weight 20kb or so.
I havent moved into using micro libraries yet. Although I have loved coding my EventEmitter. I can see the benefits of using these small specific libraries over huge all purpose ones.
It's quite nice to add your own $ shortcut too.
(function($) {
var myElement = $('myElement');
}(document.getElementById));
I realize the OP is tongue and cheek, but I still don't like jQuery. I find it's messy, the effects libraries are weak, and relies too heavily on 3rd party plug-ins with their own version and 3rd party plug-in dependencies.
I also like how you can take as much or as little of the library as you need per project.
0
u/Wolfy87 Nov 03 '11
@raynos I agree completely. Would love to know your thoughts on MooTools though. I use it in pretty much every project but only when required.
If some site only has one event to show an element I will polyfill the events myself (attatchEvent -> addEventListener, I hate you Microsoft) and save the page weight 20kb or so.
I havent moved into using micro libraries yet. Although I have loved coding my EventEmitter. I can see the benefits of using these small specific libraries over huge all purpose ones.
It's quite nice to add your own $ shortcut too.