123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387 |
- /* jshint sub: true */
- /* global define */
- define(["Modernizr"], function (M) {
- var tests = {
- "standalone": {
- "ambientlight": M.ambientlight,
- "applicationcache": M.applicationcache,
- "audio": M.audio,
- "battery": M.batteryapi,
- "blob": M.blobconstructor,
- "canvas": M.canvas,
- "canvastext": M.canvastext,
- "contenteditable": M.contenteditable,
- "contextmenu": M.contextmenu,
- "cookies": M.cookies,
- "cors": M.cors,
- "crypto": M.cryptography,
- "custom-elements": M.customelements,
- "custom-protocol-handler": M.customprotocolhandler,
- "customevent": M.customevent,
- "dart": M.dart,
- "dataview-api": M.dataview,
- "emoji": M.emoji,
- "eventlistener": M.eventlistener,
- "exif-orientation": M.exiforientation,
- "flash": M.flash,
- "forcetouch": M.forcetouch,
- "fullscreen-api": M.fullscreen,
- "gamepad": M.gamepads,
- "geolocation": M.geolocation,
- "hashchange": M.hashchange,
- "hiddenscroll": M.hiddenscroll,
- "history": M.history,
- "htmlimports": M.htmlimports,
- "ie8compat": M.ie8compat,
- "indexeddb": M.indexeddb,
- "indexeddbblob": M.indexeddbblob,
- "input": M.input,
- "inputsearchevent": M.inputsearchevent,
- "inputtypes": M.inputtypes,
- "intl": M.intl,
- "json": M.json,
- "ligatures": M.ligatures,
- "lists-reversed": M.olreversed,
- "mathml": M.mathml,
- "media-source-extension-api": M.mediasource,
- "messagechannel": M.messagechannel,
- "notification": M.notification,
- "pagevisibility-api": M.pagevisibility,
- "performance": M.performance,
- "pointerevents": M.pointerevents,
- "pointerlock-api": M.pointerlock,
- "postmessage": M.postmessage,
- "proximity": M.proximity,
- "queryselector": M.queryselector,
- "quota-management-api": M.quotamanagement,
- "requestanimationframe": M.requestanimationframe,
- "serviceworker": M.serviceworker,
- "svg": M.svg,
- "templatestrings": M.templatestrings,
- "touchevents": M.touchevents,
- "typed-arrays": M.typedarrays,
- "unicode-range": M.unicoderange,
- "unicode": M.unicode,
- "userdata": M.userdata,
- "vibration": M.vibrate,
- "video": M.video,
- "vml": M.vml,
- "web-intents": M.webintents,
- "webanimations": M.webanimations,
- "webgl": M.webgl,
- "websockets": M.websockets,
- "xdomainrequest": M.xdomainrequest
- },
- "a": {
- "download": M.adownload
- },
- "audio": {
- "autoplay": M.audioautoplay,
- "loop": M.audioloop,
- "preload": M.audiopreload,
- "webaudio": M.webaudio
- },
- "battery": {
- "lowbattery": M.lowbattery
- },
- "canvas": {
- "blending": M.canvasblending,
- "todataurl": [
- M["todataurljpeg"],
- M["todataurlpng"],
- M["todataurlwebp"]
- ],
- "winding": M.canvaswinding
- },
- "crypto": {
- "getrandomvalues": M.getrandomvalues
- },
- "css": {
- "all": M.cssall,
- "animations": M.cssanimations,
- "appearance": M.appearance,
- "backdropfilter": M.backdropfilter,
- "backgroundblendmode": M.backgroundblendmode,
- "backgroundcliptext": M.backgroundcliptext,
- "backgroundposition-shorthand": M.bgpositionshorthand,
- "backgroundposition-xy": M.bgpositionxy,
- "backgroundrepeat": [
- M["bgrepeatspace"],
- M["bgrepeatround"]
- ],
- "backgroundsize": M.backgroundsize,
- "backgroundsizecover": M.bgsizecover,
- "borderimage": M.borderimage,
- "borderradius": M.borderradius,
- "boxdecorationbreak": M.boxdecorationbreak,
- "boxshadow": M.boxshadow,
- "boxsizing": M.boxsizing,
- "calc": M.csscalc,
- "checked": M.checked,
- "chunit": M.csschunit,
- "columns": M.csscolumns,
- "cssgrid": [
- M["cssgrid"],
- M["cssgridlegacy"]
- ],
- "cubicbezierrange": M.cubicbezierrange,
- "customproperties": M.customproperties,
- "displayrunin": M["display-runin"],
- "displaytable": M.displaytable,
- "ellipsis": M.ellipsis,
- "escape": M.cssescape,
- "exunit": M.cssexunit,
- "filters": M.cssfilters,
- "flexbox": M.flexbox,
- "flexboxlegacy": M.flexboxlegacy,
- "flexboxtweener": M.flexboxtweener,
- "flexwrap": M.flexwrap,
- "focuswithin": M.focuswithin,
- "fontdisplay": M.fontdisplay,
- "fontface": M.fontface,
- "generatedcontent": M.generatedcontent,
- "gradients": M.cssgradients,
- "hairline": M.hairline,
- "hsla": M.hsla,
- "hyphens": [
- M["csshyphens"],
- M["softhyphens"],
- M["softhyphensfind"]
- ],
- "invalid": M.cssinvalid,
- "lastchild": M.lastchild,
- "mask": M.cssmask,
- "mediaqueries": M.mediaqueries,
- "multiplebgs": M.multiplebgs,
- "nthchild": M.nthchild,
- "objectfit": M.objectfit,
- "opacity": M.opacity,
- "overflow-scrolling": M.overflowscrolling,
- "pointerevents": M.csspointerevents,
- "positionsticky": M.csspositionsticky,
- "pseudoanimations": M.csspseudoanimations,
- "pseudotransitions": M.csspseudotransitions,
- "reflections": M.cssreflections,
- "regions": M.regions,
- "remunit": M.cssremunit,
- "resize": M.cssresize,
- "rgba": M.rgba,
- "scrollbars": M.cssscrollbar,
- "scrollsnappoints": M.scrollsnappoints,
- "shapes": M.shapes,
- "siblinggeneral": M.siblinggeneral,
- "subpixelfont": M.subpixelfont,
- "supports": M.supports,
- "target": M.target,
- "textalignlast": M.textalignlast,
- "textdecoration": M.textdecoration,
- "textshadow": M.textshadow,
- "transforms": M.csstransforms,
- "transforms3d": M.csstransforms3d,
- "transformslevel2": M.csstransformslevel2,
- "transformstylepreserve3d": M.preserve3d,
- "transitions": M.csstransitions,
- "userselect": M.userselect,
- "valid": M.cssvalid,
- "variablefonts": M.variablefonts,
- "vhunit": M.cssvhunit,
- "vmaxunit": M.cssvmaxunit,
- "vminunit": M.cssvminunit,
- "vwunit": M.cssvwunit,
- "will-change": M.willchange,
- "wrapflow": M.wrapflow
- },
- "dom": {
- "classlist": M.classlist,
- "createElement-attrs": [
- M["createelementattrs"],
- M["createelement-attrs"]
- ],
- "dataset": M.dataset,
- "documentfragment": M.documentfragment,
- "hidden": M.hidden,
- "intersection-observer": M.intersectionobserver,
- "microdata": M.microdata,
- "mutationObserver": M.mutationobserver,
- "passiveeventlisteners": M.passiveeventlisteners
- },
- "elem": {
- "bdi": M.bdi,
- "datalist": M.datalistelem,
- "details": M.details,
- "output": M.outputelem,
- "picture": M.picture,
- "progress-meter": [
- M["progressbar"],
- M["meter"]
- ],
- "ruby": M.ruby,
- "template": M.template,
- "time": M.time,
- "track": [
- M["texttrackapi"],
- M["track"]
- ],
- "unknown": M.unknownelements
- },
- "es5": {
- "array": M.es5array,
- "date": M.es5date,
- "function": M.es5function,
- "object": M.es5object,
- "specification": M.es5,
- "strictmode": M.strictmode,
- "string": M.es5string,
- "syntax": M.es5syntax,
- "undefined": M.es5undefined
- },
- "es6": {
- "array": M.es6array,
- "arrow": M.arrow,
- "collections": M.es6collections,
- "contains": M.contains,
- "generators": M.generators,
- "math": M.es6math,
- "number": M.es6number,
- "object": M.es6object,
- "promises": M.promises,
- "string": M.es6string
- },
- "event": {
- "deviceorientation-motion": [
- M["devicemotion"],
- M["deviceorientation"]
- ],
- "oninput": M.oninput
- },
- "file": {
- "api": M.filereader,
- "filesystem": M.filesystem
- },
- "forms": {
- "capture": M.capture,
- "fileinput": M.fileinput,
- "fileinputdirectory": M.directory,
- "formattribute": M.formattribute,
- "inputnumber-l10n": M.localizednumber,
- "placeholder": M.placeholder,
- "requestautocomplete": M.requestautocomplete,
- "validation": M.formvalidation
- },
- "iframe": {
- "sandbox": M.sandbox,
- "seamless": M.seamless,
- "srcdoc": M.srcdoc
- },
- "img": {
- "apng": M.apng,
- "crossorigin": M.imgcrossorigin,
- "jpeg2000": M.jpeg2000,
- "jpegxr": M.jpegxr,
- "sizes": M.sizes,
- "srcset": M.srcset,
- "webp-alpha": M.webpalpha,
- "webp-animation": M.webpanimation,
- "webp-lossless": [
- M["webplossless"],
- M["webp-lossless"]
- ],
- "webp": M.webp
- },
- "input": {
- "formaction": M.inputformaction,
- "formenctype": M.inputformenctype,
- "formmethod": M.inputformmethod,
- "formnovalidate": M.inputformnovalidate,
- "formtarget": M.inputformtarget
- },
- "mediaquery": {
- "hovermq": M.hovermq,
- "pointermq": M.pointermq
- },
- "network": {
- "beacon": M.beacon,
- "connection-effectivetype": M.connectioneffectivetype,
- "connection": M.lowbandwidth,
- "eventsource": M.eventsource,
- "fetch": M.fetch,
- "xhr-responsetype-arraybuffer": M.xhrresponsetypearraybuffer,
- "xhr-responsetype-blob": M.xhrresponsetypeblob,
- "xhr-responsetype-document": M.xhrresponsetypedocument,
- "xhr-responsetype-json": M.xhrresponsetypejson,
- "xhr-responsetype-text": M.xhrresponsetypetext,
- "xhr-responsetype": M.xhrresponsetype,
- "xhr2": M.xhr2
- },
- "script": {
- "async": M.scriptasync,
- "defer": M.scriptdefer
- },
- "speech": {
- "speech-recognition": M.speechrecognition,
- "speech-synthesis": M.speechsynthesis
- },
- "storage": {
- "localstorage": M.localstorage,
- "sessionstorage": M.sessionstorage,
- "websqldatabase": M.websqldatabase
- },
- "style": {
- "scoped": M.stylescoped
- },
- "svg": {
- "asimg": M.svgasimg,
- "clippaths": M.svgclippaths,
- "filters": M.svgfilters,
- "foreignobject": M.svgforeignobject,
- "inline": M.inlinesvg,
- "smil": M.smil
- },
- "textarea": {
- "maxlength": M.textareamaxlength
- },
- "url": {
- "bloburls": M.bloburls,
- "data-uri": M.datauri,
- "parser": M.urlparser,
- "urlsearchparams": M.urlsearchparams
- },
- "video": {
- "autoplay": M.videoautoplay,
- "crossorigin": M.videocrossorigin,
- "loop": M.videoloop,
- "preload": M.videopreload
- },
- "webauthn": {
- "publickeycredential": M.publicKeyCredential
- },
- "webgl": {
- "extensions": M.webglextensions
- },
- "webrtc": {
- "datachannel": M.datachannel,
- "getusermedia": M.getusermedia,
- "peerconnection": M.peerconnection
- },
- "websockets": {
- "binary": M.websocketsbinary
- },
- "window": {
- "atob-btoa": M.atobbtoa,
- "framed": M.framed,
- "matchmedia": M.matchmedia
- },
- "workers": {
- "blobworkers": M.blobworkers,
- "dataworkers": M.dataworkers,
- "sharedworkers": M.sharedworkers,
- "transferables": M.transferables,
- "webworkers": M.webworkers
- }
- };
- return M;
- });
|