w3c / sensors

Generic Sensor API
https://www.w3.org/TR/generic-sensor/
Other
127 stars 59 forks source link

Clean up some <dfn>s that were not referenced #465

Closed rakuco closed 1 year ago

rakuco commented 1 year ago

This fixes Bikeshed warnings like

LINT: Unexported dfn that's not referenced locally - did you mean to export it?
<dfn bs-line-number="550" data-lt="reading value" data-dfn-type="dfn" id="reading-value" data-noexport="by-default">values<a href="#reading-value" class="self-link"></a></dfn>
<dfn bs-line-number="550" data-lt="reading value" data-dfn-type="dfn" id="reading-value" data-noexport="by-default">values<a href="#reading-value" class="self-link"></a></dfn>

Some definitions used to be referenced years ago in previous versions of the spec text.

While here, also fix

The var 'latest reading' (in algorithm 'update latest reading') is only used once.
If this is not a typo, please add an ignore='' attribute to the <var>.

by referencing the dfn rather than using latest reading as a variable.

Related to #444.


Preview | Diff