- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Dec 2017 11:33:24 +0000
- To: public-web-nfc@w3.org
Don't set things to empty string "" for things you don't need :-) just leave it out
```
var nfcWatchOption = {
url: "",
recordType: "",
mediaType: "",
mode: "any"
};
```
```
const options = { mode: "any" };
navigator.nfc.watch(message => processMessage(message), options);
```
--
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/138#issuecomment-351365400 using your GitHub account
Received on Wednesday, 13 December 2017 11:33:26 UTC