- From: Wanming Lin via GitHub <sysbot+gh@w3.org>
- Date: Mon, 24 Apr 2017 10:11:58 +0000
- To: public-web-nfc@w3.org
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