Skip to content

docs: minor typos/issues #229

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

Merged
merged 1 commit into from
Aug 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ <h3>The <dfn>invokeAction()</dfn> method</h3>
If |form| is failure, reject |promise| with a {{SyntaxError}} and abort these steps.
</li>
<li>
Let |args| be the result of running the <a>create interaction data</a>steps on |params|, |form| and |interaction|. If that throws, reject <a>promise</a> with that exception and abort these steps.
Let |args| be the result of running the <a>create interaction data</a> steps on |params|, |form| and |interaction|. If that throws, reject <a>promise</a> with that exception and abort these steps.
</li>
<li>
Make a request to the underlying platform (via the <a>Protocol Bindings</a>) to invoke the <a>Action</a> identified by |actionName| with parameters provided in |args| and optional URI templates given in |options|'s |uriVariables|.
Expand Down Expand Up @@ -1934,7 +1934,7 @@ <h3>The <dfn>PropertyReadHandler</dfn> callback</h3>
</div>
</section>

<section> <h3>Handling requests for reading multiple Poperties</h3>
<section> <h3>Handling requests for reading multiple Properties</h3>
<div>
When a network request for reading multiple <a>Properties</a> given in
an object |propertyNames| is received with |options:InteractionOptions|,
Expand All @@ -1954,7 +1954,7 @@ <h3>The <dfn>PropertyReadHandler</dfn> callback</h3>
<li>
Let |value| be the result of running the <a>read server property</a>
steps on |name| and |options|.
If that throws, send back the error in the reply created by following the <a>Protocol Bindings</a>and abort these steps.
If that throws, send back the error in the reply created by following the <a>Protocol Bindings</a> and abort these steps.
</li>
<li>
Set the value of |propertyNames|'s |name| to |value|.
Expand Down Expand Up @@ -2216,7 +2216,7 @@ <h3>The <dfn>PropertyWriteHandler</dfn> callback</h3>
<p>
There MUST be at most one write handler for any given <a>Property</a>, so newly added handlers MUST replace the previous handlers. If no write handler is initialized for any given <a>Property</a>, implementations SHOULD implement default property update if the <a>Property</a> is
writeable and notifying observers on change if the <a>Property</a> is
observeable, based on the <a>Thing Description</a>.
observable, based on the <a>Thing Description</a>.
</p>
<div>
When the method is invoked given |name:string| and
Expand Down Expand Up @@ -2435,7 +2435,7 @@ <h3>The <dfn>EventSubscriptionHandler</dfn> callback</h3>
<p>
A function that is called when an external request for subscribing to an
<a>Event</a> is received and defines what to do with such requests.
It is invoked with a |options:InteractionOptions| object provided by the implementation and coming from subscribers.
It is invoked with an |options:InteractionOptions| object provided by the implementation and coming from subscribers.
It returns a {{Promise}} that rejects with an error or resolves when
the subscription is accepted.
</p>
Expand Down Expand Up @@ -2931,7 +2931,7 @@ <h2>The <dfn>ThingDiscovery</dfn> interface</h2>
The <dfn>done</dfn> property is `true` if the discovery has been completed with no more results to report and <a>discovery results</a> is also empty.
</p>
<p>
The <dfn>error</dfn> property represents the last error that occured during the discovery process. Typically used for critical errors that stop discovery.
The <dfn>error</dfn> property represents the last error that occurred during the discovery process. Typically used for critical errors that stop discovery.
</p>

<section><h3>Constructing {{ThingDiscovery}}</h3>
Expand Down