[web-nfc] Pull Request: Rename NFCMessage.data to NFCMessage.records

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