From e884266aabc7c3c138143d673966fd50c1301a9f Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Wed, 1 Jan 2025 22:02:52 +0000 Subject: [PATCH] Fix device name in "Reading Files from JavaScript" example (#203) --- sites/cheerpx/src/content/docs/11-guides/File-System-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/cheerpx/src/content/docs/11-guides/File-System-support.md b/sites/cheerpx/src/content/docs/11-guides/File-System-support.md index c9cf028d..b442836e 100644 --- a/sites/cheerpx/src/content/docs/11-guides/File-System-support.md +++ b/sites/cheerpx/src/content/docs/11-guides/File-System-support.md @@ -93,7 +93,7 @@ Example: ```js const idbDevice = await CheerpX.IDBDevice.create("files"); // Use CheerpX to write something to the device -const outputBlob = await dataDevice.readFileAsBlob("/filename"); +const outputBlob = await idbDevice.readFileAsBlob("/filename"); ``` > [!note] Note