Skip to content

Commit c049d30

Browse files
committed
Change namespace name back to WOT
Signed-off-by: Zoltan Kis <[email protected]>
1 parent 9a0e1f2 commit c049d30

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -369,21 +369,21 @@ <h2>The <dfn>ThingDescription</dfn> type</h2>
369369
</section>
370370
</section>
371371

372-
<section data-dfn-for="WebOfThings">
373-
<h2>The <dfn>WebOfThings</dfn> namespace</dfn></h2>
372+
<section data-dfn-for="WOT">
373+
<h2>The <dfn>WOT</dfn> namespace</dfn></h2>
374374
<p>
375375
Defines the <dfn>WoT API object</dfn> as a singleton and contains the API
376376
methods, grouped by conformance classes.
377377
</p>
378378
<pre class="idl">
379379
[SecureContext, Exposed=(Window,Worker)]
380-
namespace WebOfThings {
380+
namespace WOT {
381381
// methods defined in UA conformance classes
382382
};
383383
</pre>
384384
<section> <h3>The <dfn>consume()</dfn> method</h3>
385385
<pre class="idl">
386-
partial namespace WebOfThings {
386+
partial namespace WOT {
387387
Promise&lt;ConsumedThing&gt; consume(ThingDescription td);
388388
};
389389
</pre>
@@ -419,7 +419,7 @@ <h2>The <dfn>WebOfThings</dfn> namespace</dfn></h2>
419419

420420
<section> <h3>The <dfn>produce()</dfn> method</h3>
421421
<pre class="idl">
422-
partial namespace WebOfThings {
422+
partial namespace WOT {
423423
Promise&lt;ExposedThing&gt; produce(ThingDescription td);
424424
};
425425
</pre>
@@ -444,7 +444,7 @@ <h2>The <dfn>WebOfThings</dfn> namespace</dfn></h2>
444444

445445
<section> <h3>The <dfn>discover()</dfn> method</h3>
446446
<pre class="idl">
447-
partial namespace WebOfThings {
447+
partial namespace WOT {
448448
ThingDiscovery discover(optional ThingFilter filter = null);
449449
};
450450
</pre>
@@ -2797,7 +2797,7 @@ <h2>ExposedThing Examples</h2>
27972797
onchange: temperatureValueDefinition
27982798
}
27992799
};
2800-
let thing1 = await WebOfThings.produce(tdFragment);
2800+
let thing1 = await WOT.produce(tdFragment);
28012801
// initialize Properties
28022802
await thing1.writeProperty("temperature", 0);
28032803
// add service handlers

0 commit comments

Comments
 (0)