Skip to content

Commit 31748ea

Browse files
authored
Merge pull request #61 from autokagami/ambient-light
[ambient-light] Align with Web IDL specification
2 parents 0f49761 + 498b97d commit 31748ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.bs

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

233233
<pre class="idl">
234-
[Constructor(optional SensorOptions sensorOptions = {}), SecureContext, Exposed=Window]
234+
[SecureContext, Exposed=Window]
235235
interface AmbientLightSensor : Sensor {
236+
constructor(optional SensorOptions sensorOptions = {});
236237
readonly attribute double? illuminance;
237238
};
238239
</pre>

0 commit comments

Comments
 (0)