Skip to content

Commit 9d5829e

Browse files
authored
Correction: Use null instead of NaN when stationary (#173)
This ammends the existing correction clarifying the units and conditions for the heading property. This matches existing implementations which return null in this scenario.
1 parent 9ae72d3 commit 9d5829e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎index.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -943,10 +943,9 @@ <h2>
943943
</dt>
944944
<dd>
945945
A {{double?}} that represents the heading in
946-
degrees, or `null` if not available, or `NaN` if
947-
the device is stationary. Heading measures the
948-
direction in which the device is moving relative to
949-
true north.
946+
degrees, or `null` if not available or the device
947+
is stationary. Heading measures the direction in
948+
which the device is moving relative to true north.
950949
</dd>
951950
</dl>
952951
</li>

0 commit comments

Comments
 (0)