| 123456789101112131415161718192021 |
- /*!
- {
- "name": "Blob URLs",
- "property": "bloburls",
- "caniuse": "bloburls",
- "notes": [{
- "name": "W3C Working Draft Spec",
- "href": "https://www.w3.org/TR/FileAPI/#creating-revoking"
- }],
- "tags": ["file", "url"],
- "authors": ["Ron Waldon (@jokeyrhyme)"]
- }
- !*/
- /* DOC
- Detects support for creating Blob URLs
- */
- define(['Modernizr', 'prefixed'], function(Modernizr, prefixed) {
- var url = prefixed('URL', window, false);
- url = url && window[url];
- Modernizr.addTest('bloburls', url && 'revokeObjectURL' in url && 'createObjectURL' in url);
- });
|