From ce483b8df5c9874163d898e9db013c20aa30bb28 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sun, 29 Jun 2025 14:22:19 -0700 Subject: [PATCH] Fix typos of Winamp when I meant Webamp --- packages/webamp-docs/docs/06_API/02_webamp-constructor.md | 2 +- packages/webamp-docs/docs/06_API/03_instance-methods.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/webamp-docs/docs/06_API/02_webamp-constructor.md b/packages/webamp-docs/docs/06_API/02_webamp-constructor.md index 82bdc832..28aa280a 100644 --- a/packages/webamp-docs/docs/06_API/02_webamp-constructor.md +++ b/packages/webamp-docs/docs/06_API/02_webamp-constructor.md @@ -1,6 +1,6 @@ # Webamp Constructor -The `Winamp` class is constructed with an options object. _All config properties are optional._ +The `Webamp` class is constructed with an options object. _All config properties are optional._ ```ts import Webamp from "webamp"; diff --git a/packages/webamp-docs/docs/06_API/03_instance-methods.md b/packages/webamp-docs/docs/06_API/03_instance-methods.md index 6dd79337..68477579 100644 --- a/packages/webamp-docs/docs/06_API/03_instance-methods.md +++ b/packages/webamp-docs/docs/06_API/03_instance-methods.md @@ -221,7 +221,7 @@ If a `domNode` is passed, Webamp will place itself in the center of that DOM nod A promise is returned which will resolve after the render is complete. ```ts -const container = document.getElementById("winamp-container"); +const container = document.getElementById("webamp-container"); webamp.renderWhenReady(container).then(() => { console.log("rendered webamp!"); }); @@ -329,7 +329,7 @@ console.log(`The skin loaded in ${Date.now() - start}`); ### `dispose(): void` -**Note:** _This method is not fully functional. It is currently impossible to clean up a Winamp instance. This method makes an effort, but it still leaks the whole instance. In the future the behavior of this method will improve, so you might as well call it._ +**Note:** _This method is not fully functional. It is currently impossible to clean up a Webamp instance. This method makes an effort, but it still leaks the whole instance. In the future the behavior of this method will improve, so you might as well call it._ When you are done with a Webamp instance, call this method and Webamp will attempt to clean itself up to avoid memory leaks.