UNPKG

audio2d

Version:

Easy to use API to add the power of web audio to your game.

31 lines (21 loc) 727 B
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Audio2D Tests</title> <link rel="stylesheet" href="https://unpkg.com/mocha/mocha.css"> </head> <body> <canvas id="myCanvas" width="400" height="350"></canvas> <div id="mocha"></div> <script src="https://unpkg.com/chai/chai.js"></script> <script src="https://unpkg.com/mocha/mocha.js"></script> <script>mocha.setup('bdd')</script> <script type="module" src="test/a2d.test.js"></script> <script type="module"> mocha.checkLeaks(); mocha.run(); </script> </body> </html>