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

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

Issue 29624561: Issue 6104 - Minified code in help center repository (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Left Patch Set: Created Nov. 29, 2017, 2:25 p.m.
Right Patch Set: Consolidated gulp tasks Created Dec. 7, 2017, 2:48 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
LEFTRIGHT
1 /*!
2 * @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licen sed
3 */
4 !function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagNa me("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",r.in sertBefore(n.lastChild,r.firstChild)}function r(){var e=E.elements;return"string "==typeof e?e.split(" "):e}function a(e,t){var n=E.elements;"string"!=typeof n&& (n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),E.elements=n+" "+e,m(t)}func tion o(e){var t=v[e[g]];return t||(t={},p++,e[g]=p,v[p]=t),t}function c(e,n,r){i f(n||(n=t),u)return n.createElement(e);r||(r=o(n));var a;return a=r.cache[e]?r.c ache[e].cloneNode():f.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createE lem(e),!a.canHaveChildren||h.test(e)||a.tagUrn?a:r.frag.appendChild(a)}function i(e,n){if(e||(e=t),u)return e.createDocumentFragment();n=n||o(e);for(var a=n.fra g.cloneNode(),c=0,i=r(),l=i.length;c<l;c++)a.createElement(i[c]);return a}functi on l(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.creat eDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return E.sh ivMethods?c(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","ret urn function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join( ).replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e) ,'c("'+e+'")'})+");return n}")(E,t.frag)}function m(e){e||(e=t);var r=o(e);retur n!E.shivCSS||s||r.hasCSS||(r.hasCSS=!!n(e,"article,aside,dialog,figcaption,figur e,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color :#000}template{display:none}")),u||l(e,r),e}var s,u,d=e.html5||{},h=/^<|^(?:butt on|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fie ldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr |ul)$/i,g="_html5shiv",p=0,v={};!function(){try{var e=t.createElement("a");e.inn erHTML="<xyz></xyz>",s="hidden"in e,u=1==e.childNodes.length||function(){t.creat eElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){s=!0,u=!0}}( );var E={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav outpu t picture progress section summary template time video",version:"3.7.3",shivCSS: !1!==d.shivCSS,supportsUnknownElements:u,shivMethods:!1!==d.shivMethods,type:"de fault",shivDocument:m,createElement:c,createDocumentFragment:i,addElements:a};e. html5=E,m(t),"object"==typeof module&&module.exports&&(module.exports=E)}("undef ined"!=typeof window?window:this,document);
5 //# sourceMappingURL=html5shiv.min.js.map
LEFTRIGHT

Powered by Google App Engine
This is Rietveld