wl-iframe-resizer
Version:
Keep same and cross domain iFrames sized to their content with support for window/content resizing, and multiple iFrames.
4 lines (3 loc) • 736 B
JavaScript
// IE8 polyfils for iframeResizer.js
Array.prototype.forEach||(Array.prototype.forEach=function(t){"use strict";if(null==this||"function"!=typeof t)throw new TypeError;for(var o=Object(this),r=o.length>>>0,n=2<=arguments.length?arguments[1]:void 0,i=0;i<r;i++)i in o&&t.call(n,o[i],i,o)}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var o=Array.prototype.slice.call(arguments,1),r=this,n=function(){},i=function(){return r.apply(this instanceof n?this:t,o.concat(Array.prototype.slice.call(arguments)))};return n.prototype=this.prototype,i.prototype=new n,i});
//# sourceMappingURL=ie8.polyfils.map