Closed nbish11 closed 9 years ago
Not really an issue, but what are your thoughts about polyfilling the native elements?
Something like this:
if (typeof Element.prototype.requestFullscreen !== 'function') { Element.prototype.requestFullscreen = screenfull.raw.requestFullscreen; }
-1, overwriting native methods is bad practice
Not really an issue, but what are your thoughts about polyfilling the native elements?
Something like this: