@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));
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.