GoogleChrome/audion

Audion breaks Box2DJS demo

rtoy opened this issue · 1 comments

rtoy commented

With Audion enabled, navigate to the Box-2D demo. The demo fails with the following console message:

prototype-1.6.0.2.js:209 Uncaught TypeError: Failed to construct 'AudioContext': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
    at new <anonymous> (prototype-1.6.0.2.js:209)
    at T (<anonymous>:4:23)
    at new AudioContext (<anonymous>:24:19)
    at init (box2d-audio.html:190)
    at wrapper (prototype-1.6.0.2.js:3877)
(anonymous)	@	prototype-1.6.0.2.js:209
T	@	VM11451:4
AudioContext	@	VM11451:24
init	@	box2d-audio.html:190
wrapper	@	prototype-1.6.0.2.js:3877

The 0.1.4 release contains a fix for this issue.