Skip to content

Commit 15066f1

Browse files
authored
Merge branch 'gh-pages' into new-editor
2 parents 81beec5 + e08f3f9 commit 15066f1

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,9 @@ The AmbientLightSensor Interface {#ambient-light-sensor-interface}
232232
--------------------------------
233233

234234
<pre class="idl">
235-
[Constructor(optional SensorOptions sensorOptions = {}), SecureContext, Exposed=Window]
235+
[SecureContext, Exposed=Window]
236236
interface AmbientLightSensor : Sensor {
237+
constructor(optional SensorOptions sensorOptions = {});
237238
readonly attribute double? illuminance;
238239
};
239240
</pre>

index.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,7 @@
12191219
background-attachment: fixed;
12201220
}
12211221
</style>
1222-
<meta content="Bikeshed version 220086d88511a9c99d7a1f9b5447db7e7b99e053" name="generator">
1222+
<meta content="Bikeshed version e86d5b1b47a216fa66165c234892adc259212183" name="generator">
12231223
<link href="http://www.w3.org/TR/ambient-light/" rel="canonical">
12241224
<meta content="0f497614977f698e9314ac3d33fe305024d33cf3" name="document-revision">
12251225
<style>/* style-md-lists */
@@ -1479,7 +1479,7 @@
14791479
<div class="head">
14801480
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"> </a> </p>
14811481
<h1 class="p-name no-ref" id="title">Ambient Light Sensor</h1>
1482-
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2019-08-21">21 August 2019</time></span></h2>
1482+
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2019-09-24">24 September 2019</time></span></h2>
14831483
<div data-fill-with="spec-metadata">
14841484
<dl>
14851485
<dt>This version:
@@ -1718,8 +1718,9 @@ <h2 class="heading settled" data-level="4" id="model"><span class="secno">4. </s
17181718
due to differences in detection method, sensor construction, etc.</p>
17191719
<h2 class="heading settled" data-level="5" id="api"><span class="secno">5. </span><span class="content">API</span><a class="self-link" href="#api"></a></h2>
17201720
<h3 class="heading settled" data-level="5.1" id="ambient-light-sensor-interface"><span class="secno">5.1. </span><span class="content">The AmbientLightSensor Interface</span><a class="self-link" href="#ambient-light-sensor-interface"></a></h3>
1721-
<pre class="idl highlight def">[<dfn class="idl-code" data-dfn-for="AmbientLightSensor" data-dfn-type="constructor" data-export data-lt="AmbientLightSensor(sensorOptions)|AmbientLightSensor()" id="dom-ambientlightsensor-ambientlightsensor"><code><c- g>Constructor</c-></code><a class="self-link" href="#dom-ambientlightsensor-ambientlightsensor"></a></dfn>(<c- b>optional</c-> <a class="n" data-link-type="idl-name" href="https://w3c.github.io/sensors/#dictdef-sensoroptions" id="ref-for-dictdef-sensoroptions"><c- n>SensorOptions</c-></a> <dfn class="idl-code" data-dfn-for="AmbientLightSensor/AmbientLightSensor(sensorOptions)" data-dfn-type="argument" data-export id="dom-ambientlightsensor-ambientlightsensor-sensoroptions-sensoroptions"><code><c- g>sensorOptions</c-></code><a class="self-link" href="#dom-ambientlightsensor-ambientlightsensor-sensoroptions-sensoroptions"></a></dfn> = {}), <a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SecureContext" id="ref-for-SecureContext"><c- g>SecureContext</c-></a>, <a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed"><c- g>Exposed</c-></a>=<c- n>Window</c->]
1721+
<pre class="idl highlight def">[<a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SecureContext" id="ref-for-SecureContext"><c- g>SecureContext</c-></a>, <a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed"><c- g>Exposed</c-></a>=<c- n>Window</c->]
17221722
<c- b>interface</c-> <dfn class="dfn-paneled idl-code" data-dfn-type="interface" data-export id="ambientlightsensor"><code><c- g>AmbientLightSensor</c-></code></dfn> : <a class="n" data-link-type="idl-name" href="https://w3c.github.io/sensors/#sensor" id="ref-for-sensor①"><c- n>Sensor</c-></a> {
1723+
<dfn class="idl-code" data-dfn-for="AmbientLightSensor" data-dfn-type="constructor" data-export data-lt="AmbientLightSensor(sensorOptions)|constructor(sensorOptions)|AmbientLightSensor()|constructor()" id="dom-ambientlightsensor-ambientlightsensor"><code><c- g>constructor</c-></code><a class="self-link" href="#dom-ambientlightsensor-ambientlightsensor"></a></dfn>(<c- b>optional</c-> <a class="n" data-link-type="idl-name" href="https://w3c.github.io/sensors/#dictdef-sensoroptions" id="ref-for-dictdef-sensoroptions"><c- n>SensorOptions</c-></a> <dfn class="idl-code" data-dfn-for="AmbientLightSensor/constructor(sensorOptions), AmbientLightSensor/constructor()" data-dfn-type="argument" data-export id="dom-ambientlightsensor-constructor-sensoroptions-sensoroptions"><code><c- g>sensorOptions</c-></code><a class="self-link" href="#dom-ambientlightsensor-constructor-sensoroptions-sensoroptions"></a></dfn> = {});
17231724
<c- b>readonly</c-> <c- b>attribute</c-> <a class="idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double"><c- b>double</c-></a>? <dfn class="dfn-paneled idl-code" data-dfn-for="AmbientLightSensor" data-dfn-type="attribute" data-export data-readonly data-type="double?" id="dom-ambientlightsensor-illuminance"><code><c- g>illuminance</c-></code></dfn>;
17241725
};
17251726
</pre>
@@ -1810,6 +1811,8 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
18101811
<li><a href="#dom-ambientlightsensor-ambientlightsensor">AmbientLightSensor(sensorOptions)</a><span>, in §5.1</span>
18111812
<li><a href="#conformant-user-agent">conformant user agent</a><span>, in §10</span>
18121813
<li><a href="#construct-an-ambient-light-sensor-object">Construct an ambient light sensor object</a><span>, in §6</span>
1814+
<li><a href="#dom-ambientlightsensor-ambientlightsensor">constructor()</a><span>, in §5.1</span>
1815+
<li><a href="#dom-ambientlightsensor-ambientlightsensor">constructor(sensorOptions)</a><span>, in §5.1</span>
18131816
<li><a href="#current-light-level">current light level</a><span>, in §4</span>
18141817
<li>
18151818
illuminance
@@ -2034,8 +2037,9 @@ <h3 class="no-num no-ref heading settled" id="informative"><span class="content"
20342037
<dd><a href="http://www.bipm.org/en/publications/si-brochure/">SI Brochure: The International System of Units (SI), 8th edition</a>. 2014. URL: <a href="http://www.bipm.org/en/publications/si-brochure/">http://www.bipm.org/en/publications/si-brochure/</a>
20352038
</dl>
20362039
<h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">IDL Index</span><a class="self-link" href="#idl-index"></a></h2>
2037-
<pre class="idl highlight def">[<a href="#dom-ambientlightsensor-ambientlightsensor"><code><c- g>Constructor</c-></code></a>(<c- b>optional</c-> <a class="n" data-link-type="idl-name" href="https://w3c.github.io/sensors/#dictdef-sensoroptions" id="ref-for-dictdef-sensoroptions②"><c- n>SensorOptions</c-></a> <a href="#dom-ambientlightsensor-ambientlightsensor-sensoroptions-sensoroptions"><code><c- g>sensorOptions</c-></code></a> = {}), <a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SecureContext" id="ref-for-SecureContext①"><c- g>SecureContext</c-></a>, <a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed①"><c- g>Exposed</c-></a>=<c- n>Window</c->]
2040+
<pre class="idl highlight def">[<a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SecureContext" id="ref-for-SecureContext①"><c- g>SecureContext</c-></a>, <a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed①"><c- g>Exposed</c-></a>=<c- n>Window</c->]
20382041
<c- b>interface</c-> <a href="#ambientlightsensor"><code><c- g>AmbientLightSensor</c-></code></a> : <a class="n" data-link-type="idl-name" href="https://w3c.github.io/sensors/#sensor" id="ref-for-sensor①①"><c- n>Sensor</c-></a> {
2042+
<a href="#dom-ambientlightsensor-ambientlightsensor"><code><c- g>constructor</c-></code></a>(<c- b>optional</c-> <a class="n" data-link-type="idl-name" href="https://w3c.github.io/sensors/#dictdef-sensoroptions" id="ref-for-dictdef-sensoroptions②"><c- n>SensorOptions</c-></a> <a href="#dom-ambientlightsensor-constructor-sensoroptions-sensoroptions"><code><c- g>sensorOptions</c-></code></a> = {});
20392043
<c- b>readonly</c-> <c- b>attribute</c-> <a class="idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-double" id="ref-for-idl-double②"><c- b>double</c-></a>? <a data-readonly data-type="double?" href="#dom-ambientlightsensor-illuminance"><code><c- g>illuminance</c-></code></a>;
20402044
};
20412045

0 commit comments

Comments
 (0)