From e109bb042b03198602bd1ad9762259d7abe34dac Mon Sep 17 00:00:00 2001 From: Raanan Weber Date: Tue, 2 Nov 2021 20:30:42 +0100 Subject: [PATCH] Update explainer.md use the right character (`"`). --- explainer.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/explainer.md b/explainer.md index fa8f391..b21aba7 100644 --- a/explainer.md +++ b/explainer.md @@ -39,7 +39,7 @@ partial interface XRWebGLBinding { }; ``` -This allows us to provide a time-indexed texture containing a camera image that is retrievable only when the XRFrame is considered active. The API should also be gated by the `“camera-access”` feature descriptor. +This allows us to provide a time-indexed texture containing a camera image that is retrievable only when the XRFrame is considered active. The API should also be gated by the `"camera-access"` feature descriptor. ## Using the API @@ -47,8 +47,8 @@ The applications could leverage the newly introduced feature as follows: 1. Create a session that supports accessing camera images: ```javascript -const session = await navigator.xr.requestSession(“immersive-ar”, { - requiredFeatures: [“camera-access”] +const session = await navigator.xr.requestSession("immersive-ar", { + requiredFeatures: ["camera-access"] }); ```