Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: static/js/html5shiv.min.js

Issue 29335113: Issue 2675 - Implemented responsive header for web.eyeo.com (Closed)
Left Patch Set: Minor code style and variable scope cleanup Created Feb. 29, 2016, 5:03 p.m.
Right Patch Set: Fixed code style and consistancy issues Created June 23, 2016, 5:23 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « static/images/tog_logo.png ('k') | static/js/respond.min.js » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /** 1 /**
2 * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licen sed 2 * @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licen sed
3 */ 3 */
4 !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagNa me("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.in sertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string "==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&& (c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}func tion f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){i f(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.c ache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createE lem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.fra g.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}functi on i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.creat eDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.sh ivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","ret urn function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join( ).replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a) ,'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);retur n!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figur e,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color :#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^ <|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|co de|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbod y|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement( "a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function (){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==type of a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeo f a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr ar ticle aside audio bdi canvas data datalist details dialog figcaption figure foot er header hgroup main mark meter nav output picture progress section summary tem plate time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shi vMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,create DocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document); 4 !function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagNa me("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.in sertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string "==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&& (c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}func tion f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){i f(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.c ache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createE lem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.fra g.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}functi on i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.creat eDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.sh ivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","ret urn function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join( ).replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a) ,'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);retur n!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figur e,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color :#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^ <|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|co de|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbod y|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement( "a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function (){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==type of a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeo f a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr ar ticle aside audio bdi canvas data datalist details dialog figcaption figure foot er header hgroup main mark meter nav output picture progress section summary tem plate time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shi vMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,create DocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document);
LEFTRIGHT

Powered by Google App Engine
This is Rietveld