From bfb6517265addc752308eeff6ec8dbf21805f630 Mon Sep 17 00:00:00 2001 From: Wanming Lin Date: Tue, 4 Dec 2018 16:45:19 +0800 Subject: [PATCH] Fixed some minor issues - watch() promise should no longer return a long value - NotFoundError is no longer used - s/second callback/second argument --- index.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 0a7afad..ed80aec 100644 --- a/index.html +++ b/index.html @@ -271,8 +271,6 @@ SyntaxError, NotSupportedError, - - NotFoundError, NetworkError, @@ -1455,7 +1453,7 @@

The NFCRecordType enum

[SecureContext] interface NFC { Promise<void> push(NFCPushMessage message, optional NFCPushOptions options); - Promise<long> watch(MessageCallback callback, optional NFCWatchOptions options); + Promise<void> watch(MessageCallback callback, optional NFCWatchOptions options); }; callback MessageCallback = void (NFCMessage message); @@ -1791,7 +1789,7 @@

The NFCWatchMode enum

Let message be the first argument.
  • - Let options be the second callback. + Let options be the second argument.
  • Let signal be the options’ dictionary member of the same @@ -2650,7 +2648,7 @@

    The NFCWatchMode enum

    Let callback be the first argument.
  • - Let options be the second callback. + Let options be the second argument.
  • Let signal be the options’ dictionary member of the same