UNPKG

midi-player-js

Version:

Midi parser & player engine for browser or Node. Works well with single or multitrack MIDI files.

25 lines (23 loc) 723 B
/*! { "name": "File API", "property": "filereader", "caniuse": "fileapi", "notes": [{ "name": "W3C Working Draft", "href": "https://www.w3.org/TR/FileAPI/" }], "tags": ["file"], "builderAliases": ["file_api"], "knownBugs": ["Will fail in Safari 5 due to its lack of support for the standards defined FileReader object"] } !*/ /* DOC `filereader` tests for the File API specification Tests for objects specific to the File API W3C specification without being redundant (don't bother testing for Blob since it is assumed to be the File object's prototype.) */ define(['Modernizr'], function(Modernizr) { Modernizr.addTest('filereader', !!(window.File && window.FileList && window.FileReader)); });