- From: Alexander Shalamov via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Jun 2017 12:29:33 +0000
- To: public-web-nfc@w3.org
alexshalamov has just submitted a new pull request for https://github.com/w3c/web-nfc:
== Rename NFCMessage.data to NFCMessage.records ==
This improves code readability when NFCMessage is constructed and aligns property name with NFC concepts. NDEF message has records, record has data.
Before:
`nfc.push({ data: [{ data: { name: "hey" }}]})`
After:
`nfc.push({ records: [{ data: { name: "hey" }}]})`
Fixes #103
See https://github.com/w3c/web-nfc/pull/127
Received on Friday, 2 June 2017 12:57:37 UTC