From 08c5d6ec4b194008a2a5a51cfbe2780f1a159543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AB=E3=83=BC=E5=85=84=E3=81=95=E3=82=93?= <2237k.drumath@gmail.com> Date: Mon, 25 Apr 2022 01:45:17 +0900 Subject: [PATCH] fix api example code --- explainer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explainer.md b/explainer.md index 6d6fd5f..68ee6ee 100644 --- a/explainer.md +++ b/explainer.md @@ -27,7 +27,7 @@ Since detecting and tracking these images happens locally on the device, this fu Request image tracking as a required or optional feature using its feature descriptor and a list of images to track: ```js -const img = document.getElementById('img); +const img = document.getElementById('img'); // Ensure the image is loaded and ready for use const imgBitmap = await createImageBitmap(img);