Skip to content

Commit 09b48e6

Browse files
Addition: expose .toJSON() on GeolocationCoordinates + GeolocationPosition (#147)
1 parent 79cc49a commit 09b48e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.html

+2
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,7 @@ <h2>
10291029
interface GeolocationPosition {
10301030
readonly attribute GeolocationCoordinates coords;
10311031
readonly attribute EpochTimeStamp timestamp;
1032+
[Default] object toJSON();
10321033
};
10331034
</pre>
10341035
<section>
@@ -1110,6 +1111,7 @@ <h2>
11101111
readonly attribute double? altitudeAccuracy;
11111112
readonly attribute double? heading;
11121113
readonly attribute double? speed;
1114+
[Default] object toJSON();
11131115
};
11141116
</pre>
11151117
<section>

0 commit comments

Comments
 (0)