Skip to content

Commit

Permalink
update demos
Browse files Browse the repository at this point in the history
  • Loading branch information
EvandroLG committed Aug 5, 2021
1 parent 71fd908 commit 58e2cc2
Show file tree
Hide file tree
Showing 5 changed files with 2,921 additions and 862 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
node_modules
dist
.cache/
.parcel-cache/
3 changes: 2 additions & 1 deletion demo/audio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"start": "parcel src/index.html"
},
"devDependencies": {
"parcel": "^1.12.4",
"parcel": "^2.0.0-rc.0",
"parcel-bundler": "^1.12.5",
"ts-audio": "0.4.5"
}
}
2 changes: 1 addition & 1 deletion demo/audio/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
border-radius: 5px;
}
</style>
<script src="index.ts" defer></script>
<script type="module" src="index.ts" defer></script>
</head>
<body>
<main>
Expand Down
2 changes: 1 addition & 1 deletion demo/audio/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Audio, { AudioType } from 'ts-audio';
import Audio, { AudioType } from '../../../src';
import song from './song.mp3';

const getVolume = (element: HTMLInputElement) => Number(element.value) / 100;
Expand Down
Loading

0 comments on commit 58e2cc2

Please sign in to comment.