Skip to content

Commit 741de38

Browse files
committed
small fix
1 parent f7b8ae9 commit 741de38

File tree

1 file changed

+2
-2
lines changed
  • sites/cheerpx/src/content/docs/12-reference/CheerpX.IDBDevice

1 file changed

+2
-2
lines changed

sites/cheerpx/src/content/docs/12-reference/CheerpX.IDBDevice/reset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ None.
2323

2424
Reset an `IDBDevice` instance before mounting it.
2525

26-
```ts
26+
```ts {8}
2727
// Create a read-only block device for a disk image stored on the HTTP server
2828
const blockDevice = await CheerpX.HttpBytesDevice.create("/cheerpXImage.ext2");
2929

3030
// Make the block device read-write using a persistent IndexedDB overlay
31-
const idbDevice = await CheerpX.IDBDevice.create("block_bash");
31+
const idbDevice = await CheerpX.IDBDevice.create("block_idbDevice");
3232

3333
// Reset the IndexedDB storage
3434
await idbDevice.reset();

0 commit comments

Comments
 (0)