Skip to content

Commit 25bff7f

Browse files
committed
Fix review comments
Signed-off-by: Zoltan Kis <[email protected]>
1 parent 4aafd69 commit 25bff7f

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

index.html

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -979,11 +979,11 @@ <h4>
979979

980980
<section><h3>Feature support</h3>
981981
<p>
982-
Detecting if Web NFC is supported can be done by checking NDEFReader
983-
objects. Note that this does not guarantee that NFC hardware is available.
982+
Detecting if Web NFC is supported can be done by checking the {{NDEFReader}}
983+
object. Note that this does not guarantee that NFC hardware is available.
984984
</p>
985985
<pre class="example">
986-
if ('NDEFReader' in window) { /* ... Scan or write NDEF Tags */ }
986+
if ('NDEFReader' in window) { /* ... Scan and write NDEF Tags */ }
987987
</pre>
988988
</section>
989989

@@ -1977,9 +1977,9 @@ <h2>The <dfn>record type</dfn> string</h2>
19771977
<section> <h2>The NDEFReader object</h2>
19781978
<p>
19791979
The <dfn>NDEFReader</dfn> is an object that exposes NFC functionality to the
1980-
<a>browsing context</a>: reading data when a device, such as a tag, is within
1981-
the magnetic induction field. Also, it is used for writing
1982-
<a>NDEF message</a>s to <a>NFC tag</a>s within range.
1980+
<a>browsing context</a>: reading <a>NDEF messages</a> when a device, such
1981+
as a tag, is within the magnetic induction field. Also, it is used for
1982+
writing <a>NDEF messages</a> to <a>NFC tag</a>s within range.
19831983
</p>
19841984
<pre class="idl">
19851985
typedef (DOMString or BufferSource or NDEFMessageInit) NDEFMessageSource;
@@ -1988,8 +1988,8 @@ <h2>The <dfn>record type</dfn> string</h2>
19881988
interface NDEFReader : EventTarget {
19891989
constructor();
19901990

1991-
attribute EventHandler onreadingerror;
19921991
attribute EventHandler onreading;
1992+
attribute EventHandler onreadingerror;
19931993

19941994
Promise&lt;undefined&gt; scan(optional NDEFScanOptions options={});
19951995
Promise&lt;undefined&gt; write(NDEFMessageSource message,
@@ -2030,10 +2030,6 @@ <h2>The <dfn>record type</dfn> string</h2>
20302030
have one and some tags even create a random number on each read.
20312031
The serial number usually consists of 4 or 7 numbers, separated by `:`.
20322032
</p>
2033-
<p>
2034-
The <dfn>NDEFReader</dfn> is an object used for reading or writing data when
2035-
a device, such as a tag, is within the magnetic induction field.
2036-
</p>
20372033
<p>
20382034
An {{NDEFReader}} object has the following <a data-cite=
20392035
"ECMASCRIPT#sec-object-internal-methods-and-internal-slots">

0 commit comments

Comments
 (0)