Skip to content
Snippets Groups Projects
Commit fc4d13de authored by squidfunk's avatar squidfunk Committed by Martin Donath
Browse files

Added missing files

parent 35dbc1c0
Branches
Tags
No related merge requests found
!function(e,n,t){function r(e,n){return typeof e===n}function o(e){var n=b.className,t=S._config.classPrefix||"";if(P&&(n=n.baseVal),S._config.enableJSClass){var r=new RegExp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(r,"$1"+t+"js$2")}S._config.enableClasses&&(n+=" "+t+e.join(" "+t),P?b.className.baseVal=n:b.className=n)}function i(e,n){if("object"==typeof e)for(var t in e)_(e,t)&&i(t,e[t]);else{var r=(e=e.toLowerCase()).split("."),s=S[r[0]];if(2==r.length&&(s=s[r[1]]),void 0!==s)return S;n="function"==typeof n?n():n,1==r.length?S[r[0]]=n:(!S[r[0]]||S[r[0]]instanceof Boolean||(S[r[0]]=new Boolean(S[r[0]])),S[r[0]][r[1]]=n),o([(n&&0!=n?"":"no-")+r.join("-")]),S._trigger(e,n)}return S}function s(e,n){return!!~(""+e).indexOf(n)}function l(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):P?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function a(){var e=n.body;return e||((e=l(P?"svg":"body")).fake=!0),e}function f(e,t,r,o){var i,s,f,u,p="modernizr",c=l("div"),d=a();if(parseInt(r,10))for(;r--;)(f=l("div")).id=o?o[r]:p+(r+1),c.appendChild(f);return i=l("style"),i.type="text/css",i.id="s"+p,(d.fake?d:c).appendChild(i),d.appendChild(c),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(n.createTextNode(e)),c.id=p,d.fake&&(d.style.background="",d.style.overflow="hidden",u=b.style.overflow,b.style.overflow="hidden",b.appendChild(d)),s=t(c,e),d.fake?(d.parentNode.removeChild(d),b.style.overflow=u,b.offsetHeight):c.parentNode.removeChild(c),!!s}function u(e){return e.replace(/([A-Z])/g,function(e,n){return"-"+n.toLowerCase()}).replace(/^ms-/,"-ms-")}function p(n,t,r){var o;if("getComputedStyle"in e){o=getComputedStyle.call(e,n,t);var i=e.console;null!==o?r&&(o=o.getPropertyValue(r)):i&&i[i.error?"error":"log"].call(i,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else o=!t&&n.currentStyle&&n.currentStyle[r];return o}function c(n,r){var o=n.length;if("CSS"in e&&"supports"in e.CSS){for(;o--;)if(e.CSS.supports(u(n[o]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var i=[];o--;)i.push("("+u(n[o])+":"+r+")");return i=i.join(" or "),f("@supports ("+i+") { #modernizr { position: absolute; } }",function(e){return"absolute"==p(e,null,"position")})}return t}function d(e){return e.replace(/([a-z])-([a-z])/g,function(e,n,t){return n+t.toUpperCase()}).replace(/^-/,"")}function h(e,n,o,i){function a(){u&&(delete j.style,delete j.modElem)}if(i=!r(i,"undefined")&&i,!r(o,"undefined")){var f=c(e,o);if(!r(f,"undefined"))return f}for(var u,p,h,m,v,g=["modernizr","tspan","samp"];!j.style&&g.length;)u=!0,j.modElem=l(g.shift()),j.style=j.modElem.style;for(h=e.length,p=0;p<h;p++)if(m=e[p],v=j.style[m],s(m,"-")&&(m=d(m)),j.style[m]!==t){if(i||r(o,"undefined"))return a(),"pfx"!=n||m;try{j.style[m]=o}catch(e){}if(j.style[m]!=v)return a(),"pfx"!=n||m}return a(),!1}function m(e,n){return function(){return e.apply(n,arguments)}}function v(e,n,t){var o;for(var i in e)if(e[i]in n)return!1===t?e[i]:(o=n[e[i]],r(o,"function")?m(o,t||n):o);return!1}function g(e,n,t,o,i){var s=e.charAt(0).toUpperCase()+e.slice(1),l=(e+" "+z.join(s+" ")+s).split(" ");return r(n,"string")||r(n,"undefined")?h(l,n,o,i):(l=(e+" "+k.join(s+" ")+s).split(" "),v(l,n,t))}function y(e,n,r){return g(e,t,t,n,r)}var C=[],w={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var t=this;setTimeout(function(){n(t[e])},0)},addTest:function(e,n,t){C.push({name:e,fn:n,options:t})},addAsyncTest:function(e){C.push({name:null,fn:e})}},S=function(){};S.prototype=w,S=new S;var _,x=[],b=n.documentElement,P="svg"===b.nodeName.toLowerCase();!function(){var e={}.hasOwnProperty;_=r(e,"undefined")||r(e.call,"undefined")?function(e,n){return n in e&&r(e.constructor.prototype[n],"undefined")}:function(n,t){return e.call(n,t)}}(),w._l={},w.on=function(e,n){this._l[e]||(this._l[e]=[]),this._l[e].push(n),S.hasOwnProperty(e)&&setTimeout(function(){S._trigger(e,S[e])},0)},w._trigger=function(e,n){if(this._l[e]){var t=this._l[e];setTimeout(function(){var e;for(e=0;e<t.length;e++)(0,t[e])(n)},0),delete this._l[e]}},S._q.push(function(){w.addTest=i});var z=w._config.usePrefixes?"Moz O ms Webkit".split(" "):[];w._cssomPrefixes=z;var T={elem:l("modernizr")};S._q.push(function(){delete T.elem});var j={style:T.elem.style};S._q.unshift(function(){delete j.style});var k=w._config.usePrefixes?"Moz O ms Webkit".toLowerCase().split(" "):[];w._domPrefixes=k,w.testAllProps=g,w.testAllProps=y;var E=w.testStyles=f,N="CSS"in e&&"supports"in e.CSS,q="supportsCSS"in e;S.addTest("supports",N||q),S.addTest("csstransforms3d",function(){var e=!!y("perspective","1px",!0),n=S._config.usePrefixes;if(e&&(!n||"webkitPerspective"in b.style)){var t;S.supports?t="@supports (perspective: 1px)":(t="@media (transform-3d)",n&&(t+=",(-webkit-transform-3d)")),E("#modernizr{width:0;height:0}"+(t+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}"),function(n){e=7===n.offsetWidth&&18===n.offsetHeight})}return e}),function(){var e,n,t,o,i,s;for(var l in C)if(C.hasOwnProperty(l)){if(e=[],(n=C[l]).name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;t<n.options.aliases.length;t++)e.push(n.options.aliases[t].toLowerCase());for(o=r(n.fn,"function")?n.fn():n.fn,i=0;i<e.length;i++)1===(s=e[i].split(".")).length?S[s[0]]=o:(!S[s[0]]||S[s[0]]instanceof Boolean||(S[s[0]]=new Boolean(S[s[0]])),S[s[0]][s[1]]=o),x.push((o?"":"no-")+s.join("-"))}}(),o(x),delete w.addTest,delete w.addAsyncTest;for(var A=0;A<S._q.length;A++)S._q[A]();e.Modernizr=S}(window,document);
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment