UNPKG

@micropackage/responsive-embeds

Version:

Makes any embed responsive, no markup changes required.

9 lines (8 loc) 253 B
if ( window.NodeList && ! NodeList.prototype.forEach ) { NodeList.prototype.forEach = function( callback, thisArg ) { thisArg = thisArg || window; for ( let i = 0; i < this.length; i++ ) { callback.call( thisArg, this[ i ], i, this ); } }; }