summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/blob-constructor.js
blob: f10bd7b5f6275b3dc50c88579c72045089178564 (plain)
1
2
3
4
5
6
7
8
9
10
// Blob constructor
// http://dev.w3.org/2006/webapi/FileAPI/#constructorBlob

Modernizr.addTest('blobconstructor', function () {
    try {
        return !!new Blob();
    } catch (e) {
        return false;
    }
});