Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Fixing doc mistake (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
juneaucross authored Dec 19, 2023
1 parent 57c1d5e commit 1c7fdd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ export interface KaboomCtx {
* @example
* ```js
* loadRoot("https://myassets.com/")
* loadSprite("bean", "sprites/bean.png") // will resolve to "https://myassets.com/sprites/frogg.png"
* loadSprite("bean", "sprites/bean.png") // will resolve to "https://myassets.com/sprites/bean.png"
* ```
*/
loadRoot(path?: string): string,
Expand Down

0 comments on commit 1c7fdd4

Please sign in to comment.