Skip to content

Commit

Permalink
doc: name typos (#594)
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark authored Jan 21, 2025
1 parent cc5260f commit af28ca2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ add([
also works with CommonJS

```js
const kaboom = require("kaplay");
const kaplay = require("kaplay");
```

Note that you'll need to use a bundler like `esbuild` or `webpack` to use KAPLAY
Expand All @@ -146,7 +146,7 @@ with NPM
This exports a global `kaplay` function

```html
<script src="https://unpkg.com/kaplay@3000.1.17/dist/kaboom.js"></script>
<script src="https://unpkg.com/kaplay@3001.0.9/dist/kaplay.js"></script>
<script>
kaplay()
</script>
Expand All @@ -156,7 +156,7 @@ or use with es modules

```html
<script type="module">
import kaplay from "https://unpkg.com/kaplay@3000.1.17/dist/kaboom.mjs"
import kaplay from "https://unpkg.com/kaplay@3001.0.9/dist/kaplay.mjs"
kaplay()
</script>
```
Expand Down

0 comments on commit af28ca2

Please sign in to comment.