Skip to content

Commit

Permalink
Fix syntax errors in JavaScript examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
futureimperfect committed Sep 27, 2017
1 parent 67e922c commit 4aa72b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3343,7 +3343,7 @@ The sample code for generating and registering a new key follows:

// User:
user: {
id: "1098237235409872"
id: "1098237235409872",
name: "john.p.smith@example.com",
displayName: "John P. Smith",
icon: "https://pics.acme.com/00/p/aBjjjpqPb.png"
Expand Down Expand Up @@ -3497,9 +3497,9 @@ extension for transaction authorization.
var options = {
challenge: encoder.encode("climb a mountain"),
timeout: 60000, // 1 minute
allowCredentials: [acceptableCredential1, acceptableCredential2];
allowCredentials: [acceptableCredential1, acceptableCredential2],
extensions: { 'webauthn.txauth.simple':
"Wave your hands in the air like you just don't care" };
"Wave your hands in the air like you just don't care" }
};

navigator.credentials.get({ "publicKey": options })
Expand Down

0 comments on commit 4aa72b6

Please sign in to comment.