[NFC] Minor fixes 63/185163/2
authorPawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Thu, 26 Jul 2018 07:05:03 +0000 (09:05 +0200)
committerPawel Kaczmarczyk <p.kaczmarczy@samsung.com>
Tue, 31 Jul 2018 09:51:49 +0000 (11:51 +0200)
commit41ee8a49f96c04e9b9c69382b140e9e07ce384c2
tree0e09417eab8dc4d5b44a942264f1863d65333f8f
parent8cacc6d48ce88fefad4fc89c3f41bacad4e13e06
[NFC] Minor fixes

[Bugs]
  1. In special cases records objects were created as empty
  2. If NFCPeerDetectCallback or NFCTagDetectCallback did
     not have defined function to call on action an TypeError
     would be thrown.

[Verification] tct-nfc-tizen-tests passrate 100%

Change-Id: I32d6cbdc05c491f42100580a1cfe021c4c877bfc
Signed-off-by: Pawel Kaczmarczyk <p.kaczmarczy@samsung.com>
src/nfc/nfc_api.js