[web-nfc] Two syntax issues in Examples

Honry has just created a new issue for https://github.com/w3c/web-nfc:

== Two syntax issues in Examples ==
1. In Example 6, should use `${*}` instead of `$(*)`

> EXAMPLE 6: Push and read JSON (serialized and deserialized)

```console.log(`$(record.data.name) is $(article) $(record.data.title)`);```


2. In Example 8, the `data: utf8Text.buffer` is typeof ArrayBuffer, but the recordType is "text".
>EXAMPLE 8: Write Chinese text as UTF-8

```
navigator.nfc.push({ data: [
  {
    recordType: "text",
    mediaType: "text/plain; lang=zh; charset=UTF-8;",
    data: utf8Text.buffer
  }
]});
```

Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/114 using your GitHub account

Received on Monday, 24 April 2017 10:12:06 UTC