From 2c22419d198db6b92258107b10cdf06ce393702f Mon Sep 17 00:00:00 2001 From: Andrea Verlicchi Date: Sun, 16 Mar 2014 00:19:57 +0100 Subject: [PATCH] Added minified js file --- picturePolyfill.min.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 picturePolyfill.min.js 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