Skip to content

Commit

Permalink
Update docs to Howler v2
Browse files Browse the repository at this point in the history
  • Loading branch information
GeKorm committed Sep 11, 2017
1 parent 0d001b1 commit 93edef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const soundsData = {
// Alternatively, we can pass a configuration object.
// All valid howler.js options can be used here.
winGame: {
urls: [
src: [
'https://s3.amazonaws.com/bucketName/win_game.mp3',
'https://s3.amazonaws.com/bucketName/win_game.wav'
],
Expand All @@ -68,7 +68,7 @@ const soundsData = {
// - the start time of the sound, in milliseconds
// - the duration of the sound, in milliseconds
jumps: {
urls: [ 'https://s3.amazonaws.com/bucketName/jumps.mp3' ],
src: [ 'https://s3.amazonaws.com/bucketName/jumps.mp3' ],
sprite: {
lowJump: [0, 1000],
longJump: [1000, 2500],
Expand Down

0 comments on commit 93edef2

Please sign in to comment.