jsantell / dancer.js

high-level audio API, designed to make sweet visualizations
jsantell.github.com/dancer.js
MIT License
2.11k stars 211 forks source link

Issue #32 feature added #40

Closed bjohnso5 closed 11 years ago

bjohnso5 commented 11 years ago

Supports AMD-style (RequireJS) loading. Simple define() function wrapper around the existing global window object assignments.

Tested via RequireJS 2.1.2 on Chrome 23 and Firefox 17.

jsantell commented 11 years ago

This would break if AMD isn't being used, and is only in the built file, not the source. Future versions will include AMD, CJS and window export.