mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 19:13:54 +00:00
Update examples to use version range that includes fixed release 2.0.1
This commit is contained in:
parent
624573a4d9
commit
359b3258ed
7 changed files with 15 additions and 7 deletions
|
|
@ -9,7 +9,7 @@
|
|||
<!-- Webamp will attempt to center itself within this div -->
|
||||
</div>
|
||||
<script type="module">
|
||||
import Webamp from "https://unpkg.com/webamp@2.0.0";
|
||||
import Webamp from "https://unpkg.com/webamp@^2";
|
||||
const webamp = new Webamp({
|
||||
initialTracks: [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
* Changelog since the version you have can be found here:
|
||||
* https://github.com/captbaritone/webamp/blob/master/packages/webamp/CHANGELOG.md
|
||||
*/
|
||||
import Webamp from "https://unpkg.com/webamp@2.0.0";
|
||||
import Webamp from "https://unpkg.com/webamp@^2";
|
||||
|
||||
/**
|
||||
* Butterchurn is not being actively maintained, but it is still works
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<!-- Webamp will attempt to center itself within this div -->
|
||||
</div>
|
||||
<script type="module">
|
||||
import Webamp from "https://unpkg.com/webamp@2.0.0";
|
||||
import Webamp from "https://unpkg.com/webamp@^2";
|
||||
const webamp = new Webamp({
|
||||
windowLayout: {
|
||||
main: {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<!-- Webamp will attempt to center itself within this div -->
|
||||
</div>
|
||||
<script type="module">
|
||||
import Webamp from "https://unpkg.com/webamp@2.0.0";
|
||||
import Webamp from "https://unpkg.com/webamp@^2";
|
||||
const webamp = new Webamp({
|
||||
// Optional. An array of objects representing skins.
|
||||
// These will appear in the "Options" menu under "Skins".
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<!-- Webamp will attempt to center itself within this div -->
|
||||
</div>
|
||||
<script type="module">
|
||||
import Webamp from "https://unpkg.com/webamp@2.0.0";
|
||||
import Webamp from "https://unpkg.com/webamp@^2";
|
||||
const webamp = new Webamp({
|
||||
/**
|
||||
* Here we list three tracks. Note that the `metaData` fields and
|
||||
|
|
|
|||
|
|
@ -2,7 +2,15 @@
|
|||
|
||||
_No changes yet._
|
||||
|
||||
## 2.0.0 [CURRENT]
|
||||
## 2.0.1 [CURRENT]
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
Fixed incorrectly built artifacts.
|
||||
|
||||
## 2.0.0
|
||||
|
||||
_Broken release. Use 2.0.1 instead._
|
||||
|
||||
### Features
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ Or, you can include it via a script tag:
|
|||
|
||||
```html
|
||||
<!-- You can use this URL, or download it and check it into your own project -->
|
||||
<script src="https://unpkg.com/webamp@1.4.0/built/webamp.bundle.min.js"></script>
|
||||
<script src="https://unpkg.com/webamp@^2" type="module"></script>
|
||||
```
|
||||
|
||||
## Create a container
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue