{"version":3,"file":"modernizr-2.6.2.js","names":["window","Modernizr","document","undefined","featureName","hasOwnProp","TAGNAMES","docElement","documentElement","mod","modElem","createElement","mStyle","style","inputElem","smile","toString","prefixes","split","omPrefixes","cssomPrefixes","domPrefixes","toLowerCase","ns","tests","inputs","attrs","classes","slice","injectElementWithStyles","rule","callback","nodes","testnames","ret","node","docOverflow","div","body","fakeBody","parseInt","id","appendChild","join","innerHTML","background","overflow","parentNode","removeChild","isEventSupported","select","change","submit","reset","error","load","abort","eventName","element","isSupported","setAttribute","removeAttribute","is","_hasOwnProperty","hasOwnProperty","setCss","str","cssText","obj","type","contains","substr","indexOf","testProps","props","prefixed","i","prop","testPropsAll","elem","ucProp","charAt","toUpperCase","item","bind","testDOMProps","feature","call","object","property","constructor","prototype","Function","that","target","this","TypeError","args","arguments","bound","F","self","result","apply","concat","Object","getContext","fillText","WebGLRenderingContext","bool","DocumentTouch","offsetTop","navigator","postMessage","openDatabase","documentMode","history","pushState","backgroundColor","test","textShadow","str1","str2","opacity","backgroundImage","offsetLeft","offsetHeight","getElementById","sheet","styleSheet","cssRules","canPlayType","Boolean","ogg","replace","h264","webm","e","mp3","wav","m4a","localStorage","setItem","removeItem","sessionStorage","Worker","applicationCache","createElementNS","createSVGRect","firstChild","namespaceURI","push","input","len","length","list","HTMLDataListElement","inputElemType","defaultView","value","WebkitAppearance","getComputedStyle","checkValidity","addTest","key","className","supportsHtml5Styles","supportsUnknownElements","options","html5","reSkip","saveClones","expando","expanID","expandoData","getElements","elements","getExpandoData","ownerDocument","data","nodeName","cache","cloneNode","createElem","canHaveChildren","frag","shivDocument","shivCSS","hasCSS","p","parent","getElementsByTagName","insertBefore","lastChild","addStyleSheet","createFrag","createDocumentFragment","shivMethods","a","childNodes","clone","elems","l","_version","_prefixes","_domPrefixes","_cssomPrefixes","mq","matchMedia","msMatchMedia","matches","currentStyle","hasEvent","testProp","testAllProps","testStyles"],"sources":["modernizr-2.6.2.js"],"mappings":";;;;;;;AAwBAA,O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C6F,KAAM7F,GAIRD,EAAU0M,SAvvCI,QA2vCd1M,EAAU2M,UAAgB3L,EAG1BhB,EAAU4M,aAAgBxL,EAC1BpB,EAAU6M,eAAkB1L,EAY5BnB,EAAU8M,GA3oCO,SAAUA,GAEzB,IAKIlG,EALAmG,EAAahN,EAAOgN,YAAchN,EAAOiN,aAC7C,OAAKD,EACIA,EAAWD,GAAIG,SAKxBrL,EAAwB,UAAYkL,EAAK,OAAStM,EAAM,8BAA8B,SAAU0B,GAC9F0E,EAE4C,aAFpC7G,EAAOiK,iBACLA,iBAAiB9H,EAAM,MACvBA,EAAKgL,cAAwB,QACzC,IAEOtG,EAER,EAgoCD5G,EAAUmN,SAAgBnK,EAO1BhD,EAAUoN,SAAgB,SAASxI,GAC/B,OAAOJ,EAAU,CAACI,GACtB,EAQA5E,EAAUqN,aAAgBxI,EAO1B7E,EAAUsN,WAAgB1L,EAwB1B5B,EAAU0E,SAAgB,SAASE,EAAMT,EAAKW,GAC5C,OAAIX,EAIKU,EAAaD,EAAMT,EAAKW,GAHxBD,EAAaD,EAAM,MAK9B,EAMAtE,EAAW8J,UAAY9J,EAAW8J,UAAU/B,QAAQ,oBAAqB,QAGhC,OAAS3G,EAAQgB,KAAK,KAGxD1C,CAEV,CAx1CkB,CAw1ChB8F,KAAMA,KAAK7F","ignoreList":[],"sourcesContent":["/*!\r\n * Modernizr v2.6.2\r\n * www.modernizr.com\r\n *\r\n * Copyright (c) Faruk Ates, Paul Irish, Alex Sexton\r\n * Available under the BSD and MIT licenses: www.modernizr.com/license/\r\n */\r\n\r\n/*\r\n * Modernizr tests which native CSS3 and HTML5 features are available in\r\n * the current UA and makes the results available to you in two ways:\r\n * as properties on a global Modernizr object, and as classes on the\r\n * element. This information allows you to progressively enhance\r\n * your pages with a granular level of control over the experience.\r\n *\r\n * Modernizr has an optional (not included) conditional resource loader\r\n * called Modernizr.load(), based on Yepnope.js (yepnopejs.com).\r\n * To get a build that includes Modernizr.load(), as well as choosing\r\n * which tests to include, go to www.modernizr.com/download/\r\n *\r\n * Authors Faruk Ates, Paul Irish, Alex Sexton\r\n * Contributors Ryan Seddon, Ben Alman\r\n */\r\n\r\nwindow.Modernizr = (function( window, document, undefined ) {\r\n\r\n var version = '2.6.2',\r\n\r\n Modernizr = {},\r\n\r\n /*>>cssclasses*/\r\n // option for enabling the HTML classes to be added\r\n enableClasses = true,\r\n /*>>cssclasses*/\r\n\r\n docElement = document.documentElement,\r\n\r\n /**\r\n * Create our \"modernizr\" element that we do most feature tests on.\r\n */\r\n mod = 'modernizr',\r\n modElem = document.createElement(mod),\r\n mStyle = modElem.style,\r\n\r\n /**\r\n * Create the input element for various Web Forms feature tests.\r\n */\r\n inputElem /*>>inputelem*/ = document.createElement('input') /*>>inputelem*/ ,\r\n\r\n /*>>smile*/\r\n smile = ':)',\r\n /*>>smile*/\r\n\r\n toString = {}.toString,\r\n\r\n // TODO :: make the prefixes more granular\r\n /*>>prefixes*/\r\n // List of property values to set for css tests. See ticket #21\r\n prefixes = ' -webkit- -moz- -o- -ms- '.split(' '),\r\n /*>>prefixes*/\r\n\r\n /*>>domprefixes*/\r\n // Following spec is to expose vendor-specific style properties as:\r\n // elem.style.WebkitBorderRadius\r\n // and the following would be incorrect:\r\n // elem.style.webkitBorderRadius\r\n\r\n // Webkit ghosts their properties in lowercase but Opera & Moz do not.\r\n // Microsoft uses a lowercase `ms` instead of the correct `Ms` in IE8+\r\n // erik.eae.net/archives/2008/03/10/21.48.10/\r\n\r\n // More here: github.com/Modernizr/Modernizr/issues/issue/21\r\n omPrefixes = 'Webkit Moz O ms',\r\n\r\n cssomPrefixes = omPrefixes.split(' '),\r\n\r\n domPrefixes = omPrefixes.toLowerCase().split(' '),\r\n /*>>domprefixes*/\r\n\r\n /*>>ns*/\r\n ns = {'svg': 'http://www.w3.org/2000/svg'},\r\n /*>>ns*/\r\n\r\n tests = {},\r\n inputs = {},\r\n attrs = {},\r\n\r\n classes = [],\r\n\r\n slice = classes.slice,\r\n\r\n featureName, // used in testing loop\r\n\r\n\r\n /*>>teststyles*/\r\n // Inject element with style element and some CSS rules\r\n injectElementWithStyles = function( rule, callback, nodes, testnames ) {\r\n\r\n var style, ret, node, docOverflow,\r\n div = document.createElement('div'),\r\n // After page load injecting a fake body doesn't work so check if body exists\r\n body = document.body,\r\n // IE6 and 7 won't return offsetWidth or offsetHeight unless it's in the body element, so we fake it.\r\n fakeBody = body || document.createElement('body');\r\n\r\n if ( parseInt(nodes, 10) ) {\r\n // In order not to give false positives we create a node for each test\r\n // This also allows the method to scale for unspecified uses\r\n while ( nodes-- ) {\r\n node = document.createElement('div');\r\n node.id = testnames ? testnames[nodes] : mod + (nodes + 1);\r\n div.appendChild(node);\r\n }\r\n }\r\n\r\n // '].join('');\r\n div.id = mod;\r\n // IE6 will false positive on some tests due to the style element inside the test div somehow interfering offsetHeight, so insert it into body or fakebody.\r\n // Opera will act all quirky when injecting elements in documentElement when page is served as xml, needs fakebody too. #270\r\n (body ? div : fakeBody).innerHTML += style;\r\n fakeBody.appendChild(div);\r\n if ( !body ) {\r\n //avoid crashing IE8, if background image is used\r\n fakeBody.style.background = '';\r\n //Safari 5.13/5.1.4 OSX stops loading if ::-webkit-scrollbar is used and scrollbars are visible\r\n fakeBody.style.overflow = 'hidden';\r\n docOverflow = docElement.style.overflow;\r\n docElement.style.overflow = 'hidden';\r\n docElement.appendChild(fakeBody);\r\n }\r\n\r\n ret = callback(div, rule);\r\n // If this is done after page load we don't want to remove the body so check if body exists\r\n if ( !body ) {\r\n fakeBody.parentNode.removeChild(fakeBody);\r\n docElement.style.overflow = docOverflow;\r\n } else {\r\n div.parentNode.removeChild(div);\r\n }\r\n\r\n return !!ret;\r\n\r\n },\r\n /*>>teststyles*/\r\n\r\n /*>>mq*/\r\n // adapted from matchMedia polyfill\r\n // by Scott Jehl and Paul Irish\r\n // gist.github.com/786768\r\n testMediaQuery = function( mq ) {\r\n\r\n var matchMedia = window.matchMedia || window.msMatchMedia;\r\n if ( matchMedia ) {\r\n return matchMedia(mq).matches;\r\n }\r\n\r\n var bool;\r\n\r\n injectElementWithStyles('@media ' + mq + ' { #' + mod + ' { position: absolute; } }', function( node ) {\r\n bool = (window.getComputedStyle ?\r\n getComputedStyle(node, null) :\r\n node.currentStyle)['position'] == 'absolute';\r\n });\r\n\r\n return bool;\r\n\r\n },\r\n /*>>mq*/\r\n\r\n\r\n /*>>hasevent*/\r\n //\r\n // isEventSupported determines if a given element supports the given event\r\n // kangax.github.com/iseventsupported/\r\n //\r\n // The following results are known incorrects:\r\n // Modernizr.hasEvent(\"webkitTransitionEnd\", elem) // false negative\r\n // Modernizr.hasEvent(\"textInput\") // in Webkit. github.com/Modernizr/Modernizr/issues/333\r\n // ...\r\n isEventSupported = (function() {\r\n\r\n var TAGNAMES = {\r\n 'select': 'input', 'change': 'input',\r\n 'submit': 'form', 'reset': 'form',\r\n 'error': 'img', 'load': 'img', 'abort': 'img'\r\n };\r\n\r\n function isEventSupported( eventName, element ) {\r\n\r\n element = element || document.createElement(TAGNAMES[eventName] || 'div');\r\n eventName = 'on' + eventName;\r\n\r\n // When using `setAttribute`, IE skips \"unload\", WebKit skips \"unload\" and \"resize\", whereas `in` \"catches\" those\r\n var isSupported = eventName in element;\r\n\r\n if ( !isSupported ) {\r\n // If it has no `setAttribute` (i.e. doesn't implement Node interface), try generic element\r\n if ( !element.setAttribute ) {\r\n element = document.createElement('div');\r\n }\r\n if ( element.setAttribute && element.removeAttribute ) {\r\n element.setAttribute(eventName, '');\r\n isSupported = is(element[eventName], 'function');\r\n\r\n // If property was created, \"remove it\" (by setting value to `undefined`)\r\n if ( !is(element[eventName], 'undefined') ) {\r\n element[eventName] = undefined;\r\n }\r\n element.removeAttribute(eventName);\r\n }\r\n }\r\n\r\n element = null;\r\n return isSupported;\r\n }\r\n return isEventSupported;\r\n })(),\r\n /*>>hasevent*/\r\n\r\n // TODO :: Add flag for hasownprop ? didn't last time\r\n\r\n // hasOwnProperty shim by kangax needed for Safari 2.0 support\r\n _hasOwnProperty = ({}).hasOwnProperty, hasOwnProp;\r\n\r\n if ( !is(_hasOwnProperty, 'undefined') && !is(_hasOwnProperty.call, 'undefined') ) {\r\n hasOwnProp = function (object, property) {\r\n return _hasOwnProperty.call(object, property);\r\n };\r\n }\r\n else {\r\n hasOwnProp = function (object, property) { /* yes, this can give false positives/negatives, but most of the time we don't care about those */\r\n return ((property in object) && is(object.constructor.prototype[property], 'undefined'));\r\n };\r\n }\r\n\r\n // Adapted from ES5-shim https://github.com/kriskowal/es5-shim/blob/master/es5-shim.js\r\n // es5.github.com/#x15.3.4.5\r\n\r\n if (!Function.prototype.bind) {\r\n Function.prototype.bind = function bind(that) {\r\n\r\n var target = this;\r\n\r\n if (typeof target != \"function\") {\r\n throw new TypeError();\r\n }\r\n\r\n var args = slice.call(arguments, 1),\r\n bound = function () {\r\n\r\n if (this instanceof bound) {\r\n\r\n var F = function(){};\r\n F.prototype = target.prototype;\r\n var self = new F();\r\n\r\n var result = target.apply(\r\n self,\r\n args.concat(slice.call(arguments))\r\n );\r\n if (Object(result) === result) {\r\n return result;\r\n }\r\n return self;\r\n\r\n } else {\r\n\r\n return target.apply(\r\n that,\r\n args.concat(slice.call(arguments))\r\n );\r\n\r\n }\r\n\r\n };\r\n\r\n return bound;\r\n };\r\n }\r\n\r\n /**\r\n * setCss applies given styles to the Modernizr DOM node.\r\n */\r\n function setCss( str ) {\r\n mStyle.cssText = str;\r\n }\r\n\r\n /**\r\n * setCssAll extrapolates all vendor-specific css strings.\r\n */\r\n function setCssAll( str1, str2 ) {\r\n return setCss(prefixes.join(str1 + ';') + ( str2 || '' ));\r\n }\r\n\r\n /**\r\n * is returns a boolean for if typeof obj is exactly type.\r\n */\r\n function is( obj, type ) {\r\n return typeof obj === type;\r\n }\r\n\r\n /**\r\n * contains returns a boolean for if substr is found within str.\r\n */\r\n function contains( str, substr ) {\r\n return !!~('' + str).indexOf(substr);\r\n }\r\n\r\n /*>>testprop*/\r\n\r\n // testProps is a generic CSS / DOM property test.\r\n\r\n // In testing support for a given CSS property, it's legit to test:\r\n // `elem.style[styleName] !== undefined`\r\n // If the property is supported it will return an empty string,\r\n // if unsupported it will return undefined.\r\n\r\n // We'll take advantage of this quick test and skip setting a style\r\n // on our modernizr element, but instead just testing undefined vs\r\n // empty string.\r\n\r\n // Because the testing of the CSS property names (with \"-\", as\r\n // opposed to the camelCase DOM properties) is non-portable and\r\n // non-standard but works in WebKit and IE (but not Gecko or Opera),\r\n // we explicitly reject properties with dashes so that authors\r\n // developing in WebKit or IE first don't end up with\r\n // browser-specific content by accident.\r\n\r\n function testProps( props, prefixed ) {\r\n for ( var i in props ) {\r\n var prop = props[i];\r\n if ( !contains(prop, \"-\") && mStyle[prop] !== undefined ) {\r\n return prefixed == 'pfx' ? prop : true;\r\n }\r\n }\r\n return false;\r\n }\r\n /*>>testprop*/\r\n\r\n // TODO :: add testDOMProps\r\n /**\r\n * testDOMProps is a generic DOM property test; if a browser supports\r\n * a certain property, it won't return undefined for it.\r\n */\r\n function testDOMProps( props, obj, elem ) {\r\n for ( var i in props ) {\r\n var item = obj[props[i]];\r\n if ( item !== undefined) {\r\n\r\n // return the property name as a string\r\n if (elem === false) return props[i];\r\n\r\n // let's bind a function\r\n if (is(item, 'function')){\r\n // default to autobind unless override\r\n return item.bind(elem || obj);\r\n }\r\n\r\n // return the unbound function or obj or value\r\n return item;\r\n }\r\n }\r\n return false;\r\n }\r\n\r\n /*>>testallprops*/\r\n /**\r\n * testPropsAll tests a list of DOM properties we want to check against.\r\n * We specify literally ALL possible (known and/or likely) properties on\r\n * the element including the non-vendor prefixed one, for forward-\r\n * compatibility.\r\n */\r\n function testPropsAll( prop, prefixed, elem ) {\r\n\r\n var ucProp = prop.charAt(0).toUpperCase() + prop.slice(1),\r\n props = (prop + ' ' + cssomPrefixes.join(ucProp + ' ') + ucProp).split(' ');\r\n\r\n // did they call .prefixed('boxSizing') or are we just testing a prop?\r\n if(is(prefixed, \"string\") || is(prefixed, \"undefined\")) {\r\n return testProps(props, prefixed);\r\n\r\n // otherwise, they called .prefixed('requestAnimationFrame', window[, elem])\r\n } else {\r\n props = (prop + ' ' + (domPrefixes).join(ucProp + ' ') + ucProp).split(' ');\r\n return testDOMProps(props, prefixed, elem);\r\n }\r\n }\r\n /*>>testallprops*/\r\n\r\n\r\n /**\r\n * Tests\r\n * -----\r\n */\r\n\r\n // The *new* flexbox\r\n // dev.w3.org/csswg/css3-flexbox\r\n\r\n tests['flexbox'] = function() {\r\n return testPropsAll('flexWrap');\r\n };\r\n\r\n // The *old* flexbox\r\n // www.w3.org/TR/2009/WD-css3-flexbox-20090723/\r\n\r\n tests['flexboxlegacy'] = function() {\r\n return testPropsAll('boxDirection');\r\n };\r\n\r\n // On the S60 and BB Storm, getContext exists, but always returns undefined\r\n // so we actually have to call getContext() to verify\r\n // github.com/Modernizr/Modernizr/issues/issue/97/\r\n\r\n tests['canvas'] = function() {\r\n var elem = document.createElement('canvas');\r\n return !!(elem.getContext && elem.getContext('2d'));\r\n };\r\n\r\n tests['canvastext'] = function() {\r\n return !!(Modernizr['canvas'] && is(document.createElement('canvas').getContext('2d').fillText, 'function'));\r\n };\r\n\r\n // webk.it/70117 is tracking a legit WebGL feature detect proposal\r\n\r\n // We do a soft detect which may false positive in order to avoid\r\n // an expensive context creation: bugzil.la/732441\r\n\r\n tests['webgl'] = function() {\r\n return !!window.WebGLRenderingContext;\r\n };\r\n\r\n /*\r\n * The Modernizr.touch test only indicates if the browser supports\r\n * touch events, which does not necessarily reflect a touchscreen\r\n * device, as evidenced by tablets running Windows 7 or, alas,\r\n * the Palm Pre / WebOS (touch) phones.\r\n *\r\n * Additionally, Chrome (desktop) used to lie about its support on this,\r\n * but that has since been rectified: crbug.com/36415\r\n *\r\n * We also test for Firefox 4 Multitouch Support.\r\n *\r\n * For more info, see: modernizr.github.com/Modernizr/touch.html\r\n */\r\n\r\n tests['touch'] = function() {\r\n var bool;\r\n\r\n if(('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) {\r\n bool = true;\r\n } else {\r\n injectElementWithStyles(['@media (',prefixes.join('touch-enabled),('),mod,')','{#modernizr{top:9px;position:absolute}}'].join(''), function( node ) {\r\n bool = node.offsetTop === 9;\r\n });\r\n }\r\n\r\n return bool;\r\n };\r\n\r\n\r\n // geolocation is often considered a trivial feature detect...\r\n // Turns out, it's quite tricky to get right:\r\n //\r\n // Using !!navigator.geolocation does two things we don't want. It:\r\n // 1. Leaks memory in IE9: github.com/Modernizr/Modernizr/issues/513\r\n // 2. Disables page caching in WebKit: webk.it/43956\r\n //\r\n // Meanwhile, in Firefox < 8, an about:config setting could expose\r\n // a false positive that would throw an exception: bugzil.la/688158\r\n\r\n tests['geolocation'] = function() {\r\n return 'geolocation' in navigator;\r\n };\r\n\r\n\r\n tests['postmessage'] = function() {\r\n return !!window.postMessage;\r\n };\r\n\r\n\r\n // Chrome incognito mode used to throw an exception when using openDatabase\r\n // It doesn't anymore.\r\n tests['websqldatabase'] = function() {\r\n return !!window.openDatabase;\r\n };\r\n\r\n // Vendors had inconsistent prefixing with the experimental Indexed DB:\r\n // - Webkit's implementation is accessible through webkitIndexedDB\r\n // - Firefox shipped moz_indexedDB before FF4b9, but since then has been mozIndexedDB\r\n // For speed, we don't test the legacy (and beta-only) indexedDB\r\n tests['indexedDB'] = function() {\r\n return !!testPropsAll(\"indexedDB\", window);\r\n };\r\n\r\n // documentMode logic from YUI to filter out IE8 Compat Mode\r\n // which false positives.\r\n tests['hashchange'] = function() {\r\n return isEventSupported('hashchange', window) && (document.documentMode === undefined || document.documentMode > 7);\r\n };\r\n\r\n // Per 1.6:\r\n // This used to be Modernizr.historymanagement but the longer\r\n // name has been deprecated in favor of a shorter and property-matching one.\r\n // The old API is still available in 1.6, but as of 2.0 will throw a warning,\r\n // and in the first release thereafter disappear entirely.\r\n tests['history'] = function() {\r\n return !!(window.history && history.pushState);\r\n };\r\n\r\n tests['draganddrop'] = function() {\r\n var div = document.createElement('div');\r\n return ('draggable' in div) || ('ondragstart' in div && 'ondrop' in div);\r\n };\r\n\r\n // FF3.6 was EOL'ed on 4/24/12, but the ESR version of FF10\r\n // will be supported until FF19 (2/12/13), at which time, ESR becomes FF17.\r\n // FF10 still uses prefixes, so check for it until then.\r\n // for more ESR info, see: mozilla.org/en-US/firefox/organizations/faq/\r\n tests['websockets'] = function() {\r\n return 'WebSocket' in window || 'MozWebSocket' in window;\r\n };\r\n\r\n\r\n // css-tricks.com/rgba-browser-support/\r\n tests['rgba'] = function() {\r\n // Set an rgba() color and check the returned value\r\n\r\n setCss('background-color:rgba(150,255,150,.5)');\r\n\r\n return contains(mStyle.backgroundColor, 'rgba');\r\n };\r\n\r\n tests['hsla'] = function() {\r\n // Same as rgba(), in fact, browsers re-map hsla() to rgba() internally,\r\n // except IE9 who retains it as hsla\r\n\r\n setCss('background-color:hsla(120,40%,100%,.5)');\r\n\r\n return contains(mStyle.backgroundColor, 'rgba') || contains(mStyle.backgroundColor, 'hsla');\r\n };\r\n\r\n tests['multiplebgs'] = function() {\r\n // Setting multiple images AND a color on the background shorthand property\r\n // and then querying the style.background property value for the number of\r\n // occurrences of \"url(\" is a reliable method for detecting ACTUAL support for this!\r\n\r\n setCss('background:url(https://),url(https://),red url(https://)');\r\n\r\n // If the UA supports multiple backgrounds, there should be three occurrences\r\n // of the string \"url(\" in the return value for elemStyle.background\r\n\r\n return (/(url\\s*\\(.*?){3}/).test(mStyle.background);\r\n };\r\n\r\n\r\n\r\n // this will false positive in Opera Mini\r\n // github.com/Modernizr/Modernizr/issues/396\r\n\r\n tests['backgroundsize'] = function() {\r\n return testPropsAll('backgroundSize');\r\n };\r\n\r\n tests['borderimage'] = function() {\r\n return testPropsAll('borderImage');\r\n };\r\n\r\n\r\n // Super comprehensive table about all the unique implementations of\r\n // border-radius: muddledramblings.com/table-of-css3-border-radius-compliance\r\n\r\n tests['borderradius'] = function() {\r\n return testPropsAll('borderRadius');\r\n };\r\n\r\n // WebOS unfortunately false positives on this test.\r\n tests['boxshadow'] = function() {\r\n return testPropsAll('boxShadow');\r\n };\r\n\r\n // FF3.0 will false positive on this test\r\n tests['textshadow'] = function() {\r\n return document.createElement('div').style.textShadow === '';\r\n };\r\n\r\n\r\n tests['opacity'] = function() {\r\n // Browsers that actually have CSS Opacity implemented have done so\r\n // according to spec, which means their return values are within the\r\n // range of [0.0,1.0] - including the leading zero.\r\n\r\n setCssAll('opacity:.55');\r\n\r\n // The non-literal . in this regex is intentional:\r\n // German Chrome returns this value as 0,55\r\n // github.com/Modernizr/Modernizr/issues/#issue/59/comment/516632\r\n return (/^0.55$/).test(mStyle.opacity);\r\n };\r\n\r\n\r\n // Note, Android < 4 will pass this test, but can only animate\r\n // a single property at a time\r\n // daneden.me/2011/12/putting-up-with-androids-bullshit/\r\n tests['cssanimations'] = function() {\r\n return testPropsAll('animationName');\r\n };\r\n\r\n\r\n tests['csscolumns'] = function() {\r\n return testPropsAll('columnCount');\r\n };\r\n\r\n\r\n tests['cssgradients'] = function() {\r\n /**\r\n * For CSS Gradients syntax, please see:\r\n * webkit.org/blog/175/introducing-css-gradients/\r\n * developer.mozilla.org/en/CSS/-moz-linear-gradient\r\n * developer.mozilla.org/en/CSS/-moz-radial-gradient\r\n * dev.w3.org/csswg/css3-images/#gradients-\r\n */\r\n\r\n var str1 = 'background-image:',\r\n str2 = 'gradient(linear,left top,right bottom,from(#9f9),to(white));',\r\n str3 = 'linear-gradient(left top,#9f9, white);';\r\n\r\n setCss(\r\n // legacy webkit syntax (FIXME: remove when syntax not in use anymore)\r\n (str1 + '-webkit- '.split(' ').join(str2 + str1) +\r\n // standard syntax // trailing 'background-image:'\r\n prefixes.join(str3 + str1)).slice(0, -str1.length)\r\n );\r\n\r\n return contains(mStyle.backgroundImage, 'gradient');\r\n };\r\n\r\n\r\n tests['cssreflections'] = function() {\r\n return testPropsAll('boxReflect');\r\n };\r\n\r\n\r\n tests['csstransforms'] = function() {\r\n return !!testPropsAll('transform');\r\n };\r\n\r\n\r\n tests['csstransforms3d'] = function() {\r\n\r\n var ret = !!testPropsAll('perspective');\r\n\r\n // Webkit's 3D transforms are passed off to the browser's own graphics renderer.\r\n // It works fine in Safari on Leopard and Snow Leopard, but not in Chrome in\r\n // some conditions. As a result, Webkit typically recognizes the syntax but\r\n // will sometimes throw a false positive, thus we must do a more thorough check:\r\n if ( ret && 'webkitPerspective' in docElement.style ) {\r\n\r\n // Webkit allows this media query to succeed only if the feature is enabled.\r\n // `@media (transform-3d),(-webkit-transform-3d){ ... }`\r\n injectElementWithStyles('@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}', function( node, rule ) {\r\n ret = node.offsetLeft === 9 && node.offsetHeight === 3;\r\n });\r\n }\r\n return ret;\r\n };\r\n\r\n\r\n tests['csstransitions'] = function() {\r\n return testPropsAll('transition');\r\n };\r\n\r\n\r\n /*>>fontface*/\r\n // @font-face detection routine by Diego Perini\r\n // javascript.nwbox.com/CSSSupport/\r\n\r\n // false positives:\r\n // WebOS github.com/Modernizr/Modernizr/issues/342\r\n // WP7 github.com/Modernizr/Modernizr/issues/538\r\n tests['fontface'] = function() {\r\n var bool;\r\n\r\n injectElementWithStyles('@font-face {font-family:\"font\";src:url(\"https://\")}', function( node, rule ) {\r\n var style = document.getElementById('smodernizr'),\r\n sheet = style.sheet || style.styleSheet,\r\n cssText = sheet ? (sheet.cssRules && sheet.cssRules[0] ? sheet.cssRules[0].cssText : sheet.cssText || '') : '';\r\n\r\n bool = /src/i.test(cssText) && cssText.indexOf(rule.split(' ')[0]) === 0;\r\n });\r\n\r\n return bool;\r\n };\r\n /*>>fontface*/\r\n\r\n // CSS generated content detection\r\n tests['generatedcontent'] = function() {\r\n var bool;\r\n\r\n injectElementWithStyles(['#',mod,'{font:0/0 a}#',mod,':after{content:\"',smile,'\";visibility:hidden;font:3px/1 a}'].join(''), function( node ) {\r\n bool = node.offsetHeight >= 3;\r\n });\r\n\r\n return bool;\r\n };\r\n\r\n\r\n\r\n // These tests evaluate support of the video/audio elements, as well as\r\n // testing what types of content they support.\r\n //\r\n // We're using the Boolean constructor here, so that we can extend the value\r\n // e.g. Modernizr.video // true\r\n // Modernizr.video.ogg // 'probably'\r\n //\r\n // Codec values from : github.com/NielsLeenheer/html5test/blob/9106a8/index.html#L845\r\n // thx to NielsLeenheer and zcorpan\r\n\r\n // Note: in some older browsers, \"no\" was a return value instead of empty string.\r\n // It was live in FF3.5.0 and 3.5.1, but fixed in 3.5.2\r\n // It was also live in Safari 4.0.0 - 4.0.4, but fixed in 4.0.5\r\n\r\n tests['video'] = function() {\r\n var elem = document.createElement('video'),\r\n bool = false;\r\n\r\n // IE9 Running on Windows Server SKU can cause an exception to be thrown, bug #224\r\n try {\r\n if ( bool = !!elem.canPlayType ) {\r\n bool = new Boolean(bool);\r\n bool.ogg = elem.canPlayType('video/ogg; codecs=\"theora\"') .replace(/^no$/,'');\r\n\r\n // Without QuickTime, this value will be `undefined`. github.com/Modernizr/Modernizr/issues/546\r\n bool.h264 = elem.canPlayType('video/mp4; codecs=\"avc1.42E01E\"') .replace(/^no$/,'');\r\n\r\n bool.webm = elem.canPlayType('video/webm; codecs=\"vp8, vorbis\"').replace(/^no$/,'');\r\n }\r\n\r\n } catch(e) { }\r\n\r\n return bool;\r\n };\r\n\r\n tests['audio'] = function() {\r\n var elem = document.createElement('audio'),\r\n bool = false;\r\n\r\n try {\r\n if ( bool = !!elem.canPlayType ) {\r\n bool = new Boolean(bool);\r\n bool.ogg = elem.canPlayType('audio/ogg; codecs=\"vorbis\"').replace(/^no$/,'');\r\n bool.mp3 = elem.canPlayType('audio/mpeg;') .replace(/^no$/,'');\r\n\r\n // Mimetypes accepted:\r\n // developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements\r\n // bit.ly/iphoneoscodecs\r\n bool.wav = elem.canPlayType('audio/wav; codecs=\"1\"') .replace(/^no$/,'');\r\n bool.m4a = ( elem.canPlayType('audio/x-m4a;') ||\r\n elem.canPlayType('audio/aac;')) .replace(/^no$/,'');\r\n }\r\n } catch(e) { }\r\n\r\n return bool;\r\n };\r\n\r\n\r\n // In FF4, if disabled, window.localStorage should === null.\r\n\r\n // Normally, we could not test that directly and need to do a\r\n // `('localStorage' in window) && ` test first because otherwise Firefox will\r\n // throw bugzil.la/365772 if cookies are disabled\r\n\r\n // Also in iOS5 Private Browsing mode, attempting to use localStorage.setItem\r\n // will throw the exception:\r\n // QUOTA_EXCEEDED_ERRROR DOM Exception 22.\r\n // Peculiarly, getItem and removeItem calls do not throw.\r\n\r\n // Because we are forced to try/catch this, we'll go aggressive.\r\n\r\n // Just FWIW: IE8 Compat mode supports these features completely:\r\n // www.quirksmode.org/dom/html5.html\r\n // But IE8 doesn't support either with local files\r\n\r\n tests['localstorage'] = function() {\r\n try {\r\n localStorage.setItem(mod, mod);\r\n localStorage.removeItem(mod);\r\n return true;\r\n } catch(e) {\r\n return false;\r\n }\r\n };\r\n\r\n tests['sessionstorage'] = function() {\r\n try {\r\n sessionStorage.setItem(mod, mod);\r\n sessionStorage.removeItem(mod);\r\n return true;\r\n } catch(e) {\r\n return false;\r\n }\r\n };\r\n\r\n\r\n tests['webworkers'] = function() {\r\n return !!window.Worker;\r\n };\r\n\r\n\r\n tests['applicationcache'] = function() {\r\n return !!window.applicationCache;\r\n };\r\n\r\n\r\n // Thanks to Erik Dahlstrom\r\n tests['svg'] = function() {\r\n return !!document.createElementNS && !!document.createElementNS(ns.svg, 'svg').createSVGRect;\r\n };\r\n\r\n // specifically for SVG inline in HTML, not within XHTML\r\n // test page: paulirish.com/demo/inline-svg\r\n tests['inlinesvg'] = function() {\r\n var div = document.createElement('div');\r\n div.innerHTML = '';\r\n return (div.firstChild && div.firstChild.namespaceURI) == ns.svg;\r\n };\r\n\r\n // SVG SMIL animation\r\n tests['smil'] = function() {\r\n return !!document.createElementNS && /SVGAnimate/.test(toString.call(document.createElementNS(ns.svg, 'animate')));\r\n };\r\n\r\n // This test is only for clip paths in SVG proper, not clip paths on HTML content\r\n // demo: srufaculty.sru.edu/david.dailey/svg/newstuff/clipPath4.svg\r\n\r\n // However read the comments to dig into applying SVG clippaths to HTML content here:\r\n // github.com/Modernizr/Modernizr/issues/213#issuecomment-1149491\r\n tests['svgclippaths'] = function() {\r\n return !!document.createElementNS && /SVGClipPath/.test(toString.call(document.createElementNS(ns.svg, 'clipPath')));\r\n };\r\n\r\n /*>>webforms*/\r\n // input features and input types go directly onto the ret object, bypassing the tests loop.\r\n // Hold this guy to execute in a moment.\r\n function webforms() {\r\n /*>>input*/\r\n // Run through HTML5's new input attributes to see if the UA understands any.\r\n // We're using f which is the element created early on\r\n // Mike Taylr has created a comprehensive resource for testing these attributes\r\n // when applied to all input types:\r\n // miketaylr.com/code/input-type-attr.html\r\n // spec: www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\r\n\r\n // Only input placeholder is tested while textarea's placeholder is not.\r\n // Currently Safari 4 and Opera 11 have support only for the input placeholder\r\n // Both tests are available in feature-detects/forms-placeholder.js\r\n Modernizr['input'] = (function( props ) {\r\n for ( var i = 0, len = props.length; i < len; i++ ) {\r\n attrs[ props[i] ] = !!(props[i] in inputElem);\r\n }\r\n if (attrs.list){\r\n // safari false positive's on datalist: webk.it/74252\r\n // see also github.com/Modernizr/Modernizr/issues/146\r\n attrs.list = !!(document.createElement('datalist') && window.HTMLDataListElement);\r\n }\r\n return attrs;\r\n })('autocomplete autofocus list placeholder max min multiple pattern required step'.split(' '));\r\n /*>>input*/\r\n\r\n /*>>inputtypes*/\r\n // Run through HTML5's new input types to see if the UA understands any.\r\n // This is put behind the tests runloop because it doesn't return a\r\n // true/false like all the other tests; instead, it returns an object\r\n // containing each input type with its corresponding true/false value\r\n\r\n // Big thanks to @miketaylr for the html5 forms expertise. miketaylr.com/\r\n Modernizr['inputtypes'] = (function(props) {\r\n\r\n for ( var i = 0, bool, inputElemType, defaultView, len = props.length; i < len; i++ ) {\r\n\r\n inputElem.setAttribute('type', inputElemType = props[i]);\r\n bool = inputElem.type !== 'text';\r\n\r\n // We first check to see if the type we give it sticks..\r\n // If the type does, we feed it a textual value, which shouldn't be valid.\r\n // If the value doesn't stick, we know there's input sanitization which infers a custom UI\r\n if ( bool ) {\r\n\r\n inputElem.value = smile;\r\n inputElem.style.cssText = 'position:absolute;visibility:hidden;';\r\n\r\n if ( /^range$/.test(inputElemType) && inputElem.style.WebkitAppearance !== undefined ) {\r\n\r\n docElement.appendChild(inputElem);\r\n defaultView = document.defaultView;\r\n\r\n // Safari 2-4 allows the smiley as a value, despite making a slider\r\n bool = defaultView.getComputedStyle &&\r\n defaultView.getComputedStyle(inputElem, null).WebkitAppearance !== 'textfield' &&\r\n // Mobile android web browser has false positive, so must\r\n // check the height to see if the widget is actually there.\r\n (inputElem.offsetHeight !== 0);\r\n\r\n docElement.removeChild(inputElem);\r\n\r\n } else if ( /^(search|tel)$/.test(inputElemType) ){\r\n // Spec doesn't define any special parsing or detectable UI\r\n // behaviors so we pass these through as true\r\n\r\n // Interestingly, opera fails the earlier test, so it doesn't\r\n // even make it here.\r\n\r\n } else if ( /^(url|email)$/.test(inputElemType) ) {\r\n // Real url and email support comes with prebaked validation.\r\n bool = inputElem.checkValidity && inputElem.checkValidity() === false;\r\n\r\n } else {\r\n // If the upgraded input compontent rejects the :) text, we got a winner\r\n bool = inputElem.value != smile;\r\n }\r\n }\r\n\r\n inputs[ props[i] ] = !!bool;\r\n }\r\n return inputs;\r\n })('search tel url email datetime date month week time datetime-local number range color'.split(' '));\r\n /*>>inputtypes*/\r\n }\r\n /*>>webforms*/\r\n\r\n\r\n // End of test definitions\r\n // -----------------------\r\n\r\n\r\n\r\n // Run through all tests and detect their support in the current UA.\r\n // todo: hypothetically we could be doing an array of tests and use a basic loop here.\r\n for ( var feature in tests ) {\r\n if ( hasOwnProp(tests, feature) ) {\r\n // run the test, throw the return value into the Modernizr,\r\n // then based on that boolean, define an appropriate className\r\n // and push it into an array of classes we'll join later.\r\n featureName = feature.toLowerCase();\r\n Modernizr[featureName] = tests[feature]();\r\n\r\n classes.push((Modernizr[featureName] ? '' : 'no-') + featureName);\r\n }\r\n }\r\n\r\n /*>>webforms*/\r\n // input tests need to run.\r\n Modernizr.input || webforms();\r\n /*>>webforms*/\r\n\r\n\r\n /**\r\n * addTest allows the user to define their own feature tests\r\n * the result will be added onto the Modernizr object,\r\n * as well as an appropriate className set on the html element\r\n *\r\n * @param feature - String naming the feature\r\n * @param test - Function returning true if feature is supported, false if not\r\n */\r\n Modernizr.addTest = function ( feature, test ) {\r\n if ( typeof feature == 'object' ) {\r\n for ( var key in feature ) {\r\n if ( hasOwnProp( feature, key ) ) {\r\n Modernizr.addTest( key, feature[ key ] );\r\n }\r\n }\r\n } else {\r\n\r\n feature = feature.toLowerCase();\r\n\r\n if ( Modernizr[feature] !== undefined ) {\r\n // we're going to quit if you're trying to overwrite an existing test\r\n // if we were to allow it, we'd do this:\r\n // var re = new RegExp(\"\\\\b(no-)?\" + feature + \"\\\\b\");\r\n // docElement.className = docElement.className.replace( re, '' );\r\n // but, no rly, stuff 'em.\r\n return Modernizr;\r\n }\r\n\r\n test = typeof test == 'function' ? test() : test;\r\n\r\n if (typeof enableClasses !== \"undefined\" && enableClasses) {\r\n docElement.className += ' ' + (test ? '' : 'no-') + feature;\r\n }\r\n Modernizr[feature] = test;\r\n\r\n }\r\n\r\n return Modernizr; // allow chaining.\r\n };\r\n\r\n\r\n // Reset modElem.cssText to nothing to reduce memory footprint.\r\n setCss('');\r\n modElem = inputElem = null;\r\n\r\n /*>>shiv*/\r\n /*! HTML5 Shiv v3.6.1 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */\r\n ;(function(window, document) {\r\n /*jshint evil:true */\r\n /** Preset options */\r\n var options = window.html5 || {};\r\n\r\n /** Used to skip problem elements */\r\n var reSkip = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i;\r\n\r\n /** Not all elements can be cloned in IE **/\r\n var saveClones = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i;\r\n\r\n /** Detect whether the browser supports default html5 styles */\r\n var supportsHtml5Styles;\r\n\r\n /** Name of the expando, to work with multiple documents or to re-shiv one document */\r\n var expando = '_html5shiv';\r\n\r\n /** The id for the the documents expando */\r\n var expanID = 0;\r\n\r\n /** Cached data for each document */\r\n var expandoData = {};\r\n\r\n /** Detect whether the browser supports unknown elements */\r\n var supportsUnknownElements;\r\n\r\n (function() {\r\n try {\r\n var a = document.createElement('a');\r\n a.innerHTML = '';\r\n //if the hidden property is implemented we can assume, that the browser supports basic HTML5 Styles\r\n supportsHtml5Styles = ('hidden' in a);\r\n\r\n supportsUnknownElements = a.childNodes.length == 1 || (function() {\r\n // assign a false positive if unable to shiv\r\n (document.createElement)('a');\r\n var frag = document.createDocumentFragment();\r\n return (\r\n typeof frag.cloneNode == 'undefined' ||\r\n typeof frag.createDocumentFragment == 'undefined' ||\r\n typeof frag.createElement == 'undefined'\r\n );\r\n }());\r\n } catch(e) {\r\n supportsHtml5Styles = true;\r\n supportsUnknownElements = true;\r\n }\r\n\r\n }());\r\n\r\n /*--------------------------------------------------------------------------*/\r\n\r\n /**\r\n * Creates a style sheet with the given CSS text and adds it to the document.\r\n * @private\r\n * @param {Document} ownerDocument The document.\r\n * @param {String} cssText The CSS text.\r\n * @returns {StyleSheet} The style element.\r\n */\r\n function addStyleSheet(ownerDocument, cssText) {\r\n var p = ownerDocument.createElement('p'),\r\n parent = ownerDocument.getElementsByTagName('head')[0] || ownerDocument.documentElement;\r\n\r\n p.innerHTML = 'x';\r\n return parent.insertBefore(p.lastChild, parent.firstChild);\r\n }\r\n\r\n /**\r\n * Returns the value of `html5.elements` as an array.\r\n * @private\r\n * @returns {Array} An array of shived element node names.\r\n */\r\n function getElements() {\r\n var elements = html5.elements;\r\n return typeof elements == 'string' ? elements.split(' ') : elements;\r\n }\r\n\r\n /**\r\n * Returns the data associated to the given document\r\n * @private\r\n * @param {Document} ownerDocument The document.\r\n * @returns {Object} An object of data.\r\n */\r\n function getExpandoData(ownerDocument) {\r\n var data = expandoData[ownerDocument[expando]];\r\n if (!data) {\r\n data = {};\r\n expanID++;\r\n ownerDocument[expando] = expanID;\r\n expandoData[expanID] = data;\r\n }\r\n return data;\r\n }\r\n\r\n /**\r\n * returns a shived element for the given nodeName and document\r\n * @memberOf html5\r\n * @param {String} nodeName name of the element\r\n * @param {Document} ownerDocument The context document.\r\n * @returns {Object} The shived element.\r\n */\r\n function createElement(nodeName, ownerDocument, data){\r\n if (!ownerDocument) {\r\n ownerDocument = document;\r\n }\r\n if(supportsUnknownElements){\r\n return ownerDocument.createElement(nodeName);\r\n }\r\n if (!data) {\r\n data = getExpandoData(ownerDocument);\r\n }\r\n var node;\r\n\r\n if (data.cache[nodeName]) {\r\n node = data.cache[nodeName].cloneNode();\r\n } else if (saveClones.test(nodeName)) {\r\n node = (data.cache[nodeName] = data.createElem(nodeName)).cloneNode();\r\n } else {\r\n node = data.createElem(nodeName);\r\n }\r\n\r\n // Avoid adding some elements to fragments in IE < 9 because\r\n // * Attributes like `name` or `type` cannot be set/changed once an element\r\n // is inserted into a document/fragment\r\n // * Link elements with `src` attributes that are inaccessible, as with\r\n // a 403 response, will cause the tab/window to crash\r\n // * Script elements appended to fragments will execute when their `src`\r\n // or `text` property is set\r\n return node.canHaveChildren && !reSkip.test(nodeName) ? data.frag.appendChild(node) : node;\r\n }\r\n\r\n /**\r\n * returns a shived DocumentFragment for the given document\r\n * @memberOf html5\r\n * @param {Document} ownerDocument The context document.\r\n * @returns {Object} The shived DocumentFragment.\r\n */\r\n function createDocumentFragment(ownerDocument, data){\r\n if (!ownerDocument) {\r\n ownerDocument = document;\r\n }\r\n if(supportsUnknownElements){\r\n return ownerDocument.createDocumentFragment();\r\n }\r\n data = data || getExpandoData(ownerDocument);\r\n var clone = data.frag.cloneNode(),\r\n i = 0,\r\n elems = getElements(),\r\n l = elems.length;\r\n for(;i>shiv*/\r\n\r\n // Assign private properties to the return object with prefix\r\n Modernizr._version = version;\r\n\r\n // expose these for the plugin API. Look in the source for how to join() them against your input\r\n /*>>prefixes*/\r\n Modernizr._prefixes = prefixes;\r\n /*>>prefixes*/\r\n /*>>domprefixes*/\r\n Modernizr._domPrefixes = domPrefixes;\r\n Modernizr._cssomPrefixes = cssomPrefixes;\r\n /*>>domprefixes*/\r\n\r\n /*>>mq*/\r\n // Modernizr.mq tests a given media query, live against the current state of the window\r\n // A few important notes:\r\n // * If a browser does not support media queries at all (eg. oldIE) the mq() will always return false\r\n // * A max-width or orientation query will be evaluated against the current state, which may change later.\r\n // * You must specify values. Eg. If you are testing support for the min-width media query use:\r\n // Modernizr.mq('(min-width:0)')\r\n // usage:\r\n // Modernizr.mq('only screen and (max-width:768)')\r\n Modernizr.mq = testMediaQuery;\r\n /*>>mq*/\r\n\r\n /*>>hasevent*/\r\n // Modernizr.hasEvent() detects support for a given event, with an optional element to test on\r\n // Modernizr.hasEvent('gesturestart', elem)\r\n Modernizr.hasEvent = isEventSupported;\r\n /*>>hasevent*/\r\n\r\n /*>>testprop*/\r\n // Modernizr.testProp() investigates whether a given style property is recognized\r\n // Note that the property names must be provided in the camelCase variant.\r\n // Modernizr.testProp('pointerEvents')\r\n Modernizr.testProp = function(prop){\r\n return testProps([prop]);\r\n };\r\n /*>>testprop*/\r\n\r\n /*>>testallprops*/\r\n // Modernizr.testAllProps() investigates whether a given style property,\r\n // or any of its vendor-prefixed variants, is recognized\r\n // Note that the property names must be provided in the camelCase variant.\r\n // Modernizr.testAllProps('boxSizing')\r\n Modernizr.testAllProps = testPropsAll;\r\n /*>>testallprops*/\r\n\r\n\r\n /*>>teststyles*/\r\n // Modernizr.testStyles() allows you to add custom styles to the document and test an element afterwards\r\n // Modernizr.testStyles('#modernizr { position:absolute }', function(elem, rule){ ... })\r\n Modernizr.testStyles = injectElementWithStyles;\r\n /*>>teststyles*/\r\n\r\n\r\n /*>>prefixed*/\r\n // Modernizr.prefixed() returns the prefixed or nonprefixed property name variant of your input\r\n // Modernizr.prefixed('boxSizing') // 'MozBoxSizing'\r\n\r\n // Properties must be passed as dom-style camelcase, rather than `box-sizing` hypentated style.\r\n // Return values will also be the camelCase variant, if you need to translate that to hypenated style use:\r\n //\r\n // str.replace(/([A-Z])/g, function(str,m1){ return '-' + m1.toLowerCase(); }).replace(/^ms-/,'-ms-');\r\n\r\n // If you're trying to ascertain which transition end event to bind to, you might do something like...\r\n //\r\n // var transEndEventNames = {\r\n // 'WebkitTransition' : 'webkitTransitionEnd',\r\n // 'MozTransition' : 'transitionend',\r\n // 'OTransition' : 'oTransitionEnd',\r\n // 'msTransition' : 'MSTransitionEnd',\r\n // 'transition' : 'transitionend'\r\n // },\r\n // transEndEventName = transEndEventNames[ Modernizr.prefixed('transition') ];\r\n\r\n Modernizr.prefixed = function(prop, obj, elem){\r\n if(!obj) {\r\n return testPropsAll(prop, 'pfx');\r\n } else {\r\n // Testing DOM property e.g. Modernizr.prefixed('requestAnimationFrame', window) // 'mozRequestAnimationFrame'\r\n return testPropsAll(prop, obj, elem);\r\n }\r\n };\r\n /*>>prefixed*/\r\n\r\n\r\n /*>>cssclasses*/\r\n // Remove \"no-js\" class from element, if it exists:\r\n docElement.className = docElement.className.replace(/(^|\\s)no-js(\\s|$)/, '$1$2') +\r\n\r\n // Add the new classes to the element.\r\n (enableClasses ? ' js ' + classes.join(' ') : '');\r\n /*>>cssclasses*/\r\n\r\n return Modernizr;\r\n\r\n})(this, this.document);\r\n"]}