UNPKG

midi-player-js

Version:

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

23 lines (22 loc) 453 B
/*! { "name": "ES6 Generators", "property": "generators", "authors": ["Michael Kachanovskyi"], "tags": ["es6"] } !*/ /* DOC Check if browser implements ECMAScript 6 Generators per specification. */ define(['Modernizr'], function(Modernizr) { Modernizr.addTest('generators', function() { try { /* jshint evil: true */ new Function('function* test() {}')(); } catch (e) { return false; } return true; }); });