[web-nfc] Pull Request: Rename toText, toJSON, and ToArrayBuffer NDEFRecord methods

beaufortfrancois has just submitted a new pull request for https://github.com/w3c/web-nfc:

== Rename toText, toJSON, and ToArrayBuffer NDEFRecord methods ==
This PR renames NDEFRecord methods "toText()" to "text()", "toJSON()" to
"json()", and "toArrayBuffer()", to "arrayBuffer()" as discussed in https://github.com/w3c/web-nfc/issues/366.

Note that `toRecords` seems off now. Should it be renamed to `getRecords()`?

For info, I didn't update Note in https://w3c.github.io/web-nfc/#mapping-json-to-ndef.

See https://github.com/w3c/web-nfc/pull/370

Received on Friday, 11 October 2019 14:40:45 UTC