Re: [web-nfc] Allow nfc.push to accept a dictionary

Now I remember why we don't have simple API for json data. 
NFCPushMessage is (NFCMessage or DOMString or ArrayBuffer). NFCMessage
 is Dictionary, so, you cant make NFCPushMessage to be (Dictionary or 
Dictionary or DOMString or ArrayBuffer). To fix that, we can make 
NFCMessage an object with constructor that takes NFCRecords.

-- 
GitHub Notification of comment by alexshalamov
Please view or discuss this issue at 
https://github.com/w3c/web-nfc/issues/104#issuecomment-218970156 using
 your GitHub account

Received on Friday, 13 May 2016 07:23:07 UTC