Skip to content

Commit

Permalink
Forgot that I never accounted for webkitAudioContext. Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottMichaud committed Mar 13, 2015
1 parent b2458a4 commit 66236ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AudioSampleLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
* @version 0.2
*/

//Forward-declare AudioContext for Safari and older Google Chrome.
window.AudioContext = window.AudioContext || window.webkitAudioContext;

function AudioSampleLoader() {
"use strict";
this.loaded = 0;
Expand Down

0 comments on commit 66236ca

Please sign in to comment.