Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename 'onchange' to 'onreading' #239

Merged
merged 1 commit into from
Jun 28, 2017
Merged

Conversation

pozdnyakov
Copy link

@pozdnyakov pozdnyakov commented Jun 27, 2017

Fixes #205. The 'onreading' name better reflects the actual behaviour: a new reading has arrived.


Preview | Diff

Copy link

@alexshalamov alexshalamov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

index.html Outdated
@@ -2296,7 +2289,7 @@ <h4 class="heading settled" data-level="8.1.10" id="event-handlers"><span class=
<th>event handler event type
<tbody>
<tr>
<td><strong><code>onchange</code></strong>
<td><strong><code>onreading</code></strong>
<td><code>change</code>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reading

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@anssiko
Copy link
Member

anssiko commented Jun 27, 2017

LGTM with one change.

When this lands, it'd be awesome if you could submit PRs to all https://www.w3.org/2009/dap/#sensors to s/onchange/onreading/ to update them accordingly. On a cursory scan this change mainly touches examples in concrete sensor specs.

@kenchris
Copy link
Contributor

Also make sure to tell our zephyr.js guys

Fixes w3c#205. The 'onreading' name better reflects the actual behaviour: a new reading has arrived.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants