mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-17 16:46:04 +00:00
Fix more Winamp typos
This commit is contained in:
parent
ce483b8df5
commit
4c07731d76
1 changed files with 4 additions and 4 deletions
|
|
@ -1,16 +1,16 @@
|
|||
# Static Methods
|
||||
|
||||
The `Winamp` class has the following _static_ methods:
|
||||
The `Webamp` class has the following _static_ methods:
|
||||
|
||||
### `browserIsSupported()`
|
||||
|
||||
Returns a true if the current browser supports the features that Webamp depends upon. It is recommended to check this before you attempt to [construct](02_webamp-constructor.md) an instance of `Winamp`.
|
||||
Returns a true if the current browser supports the features that Webamp depends upon. It is recommended to check this before you attempt to [construct](02_webamp-constructor.md) an instance of `Webamp`.
|
||||
|
||||
```ts
|
||||
import Webamp from "webamp";
|
||||
|
||||
if (Winamp.browserIsSupported()) {
|
||||
new Winamp({
|
||||
if (Webamp.browserIsSupported()) {
|
||||
new Webamp({
|
||||
/* ... */
|
||||
});
|
||||
// ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue