picturefill
Version:
A responsive image polyfill.
5 lines • 584 B
JavaScript
/*! picturefill - v3.0.2 - 2016-02-12
* https://scottjehl.github.io/picturefill/
* Copyright (c) 2016 https://github.com/scottjehl/picturefill/blob/master/Authors.txt; Licensed MIT
*/
!function(a){"use strict";var b,c=0,d=function(){window.picturefill&&a(window.picturefill),(window.picturefill||c>9999)&&clearInterval(b),c++};b=setInterval(d,8),d()}(function(a){"use strict";var b=a._,c=window.jQuery||window.$;if(!document.querySelector){b.qsa=function(a,b){return c(b,a)};var d=document.createElement("a");b.makeUrl=function(a){return c.attr(d,"href",a+""),c.prop(d,"href")}}});