diff --git a/picturePolyfill.min.js b/picturePolyfill.min.js new file mode 100644 index 0000000..60cf52c --- /dev/null +++ b/picturePolyfill.min.js @@ -0,0 +1,4 @@ +/*! Picture Polyfill - v2.0.0 - 2014-03-16 +* https://github.com/verlok/picturePolyfill/ +* Copyright (c) 2014 Andrea Verlicchi; Licensed MIT */ +(function(a){function f(){var a=document.createElement("img"),b=document.getElementsByTagName("picture")[0];try{return b&&(b.appendChild(a),b.removeChild(a)),!0}catch(c){return!1}}function g(a,b,c){var d=document.createElement("img"),e=document.createElement("picture");d.setAttribute("src",b),d.setAttribute("alt",c),e.appendChild(d),a.parentNode.replaceChild(e,a)}function h(a){var b,c,d,e={},f=a.split(",");for(var g=0,h=f.length;g0);return c}function j(b){var d,e;for(var f=0,g=b.length;f