Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't use JQuery anymore at all. I just use element.addEventListener with a polyfill for attachEvent if I need to hit old IE.


Poly-fill is the future.

Someone's working on a DOM polyfill at the moment, it's unstable beta but looks promising: https://github.com/Raynos/DOM-shim


I've often thought that frameworks should be built on top of standardized native apis, poly-filled when necessary. I imagine a time when browser specific hacks will be outside of the frameworks and "pushed down" to something lower level; ultimately shared across several frameworks rather than siloed off like it is now.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: