DEV Community

Discussion on: Re-implementing jQuery methods in the HTMLElement prototype

Collapse
 
daniel15 profile image
Daniel Lo Nigro

Not sure if you've ever used it, but this is basically the approach Prototype.js took (and MooTools copied). The issue back in the Prototype.js era was that extending the native prototypes didn't work in IE6, so it had to also support a different approach (a wrapper object) in IE.