You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'(meters) height above the [<a href="http://dev.w3.org/geo/api/spec-source.html#ref-wgs">WGS84</a>] ellipsoid. [<a href="http://dev.w3.org/geo/api/spec-source.html#altitude">#ref]</a></td>'+
372
372
'</tr>';
373
-
varaccuracy=
373
+
constaccuracy=
374
374
'<tr>'+
375
375
'<td><b>Accuracy:</b></td>'+
376
376
'<td id="accuracy"> </td>'+
377
377
'<td>(meters; non-negative; 95% confidence level) the accuracy level of the latitude and longitude coordinates. [<a href="http://dev.w3.org/geo/api/spec-source.html#accuracy">#ref]</a></td>'+
378
378
'</tr>';
379
-
varheading=
379
+
constheading=
380
380
'<tr>'+
381
381
'<td><b>Heading:</b></td>'+
382
382
'<td id="heading"> </td>'+
383
383
'<td>null if not supported;<br>'+
384
384
'NaN if speed == 0;<br>'+
385
385
'(degrees; 0° ≤ heading < 360°) direction of travel of the hosting device- counting clockwise relative to the true north. [<a href="http://dev.w3.org/geo/api/spec-source.html#heading">#ref]</a></td>'+
386
386
'</tr>';
387
-
varspeed=
387
+
constspeed=
388
388
'<tr>'+
389
389
'<td><b>Speed:</b></td>'+
390
390
'<td id="speed"> </td>'+
391
391
'<td>null if not supported;<br>'+
392
392
'(meters per second; non-negative) magnitude of the horizontal component of the hosting device current velocity. [<a href="http://dev.w3.org/geo/api/spec-source.html#speed">#ref]</a></td>'+
393
393
'</tr>';
394
-
varaltitude_accuracy=
394
+
constaltitude_accuracy=
395
395
'<tr>'+
396
396
'<td><b>Altitude Accuracy:</b></td>'+
397
397
'<td id="altitude_accuracy"> </td>'+
398
398
'<td>null if not supported;<br>(meters; non-negative; 95% confidence level) the accuracy level of the altitude. [<a href="http://dev.w3.org/geo/api/spec-source.html#altitude-accuracy">#ref]</a></td>'+
399
399
'</tr>';
400
-
vartime=
400
+
consttime=
401
401
'<tr>'+
402
402
'<td><b>Time:</b></td>'+
403
403
'<td id="timestamp"> </td>'+
404
404
'<td>(DOMTimeStamp) when the position was acquired [<a href="http://dev.w3.org/geo/api/spec-source.html#timestamp">#ref]</a></td>'+
405
405
'</tr>'+
406
406
'</table>'+
407
407
'</div>';
408
-
varactions=
408
+
constactions=
409
409
'<div id="cordova-getLocation"></div>'+
410
410
'Expected result: Will update all applicable values in status box for current location. Status will read Retrieving Location (may not see this if location is retrieved immediately) then Done.'+
411
411
'<p/> <div id="cordova-watchLocation"></div>'+
@@ -414,8 +414,8 @@ exports.defineManualTests = function (contentEl, createActionButton) {
414
414
'Expected result: Will stop watching the location so values will not be updated. Status will read Stopped.'+
415
415
'<p/> <div id="cordova-getOld"></div>'+
416
416
'Expected result: Will update location values with a cached position that is up to 30 seconds old. Verify with time value. Status will read Done.';
417
-
varvalues_info='<h3>Details about each value are listed below in the status box</h3>';
418
-
varnote='<h3>Allow use of current location, if prompted</h3>';
417
+
constvalues_info='<h3>Details about each value are listed below in the status box</h3>';
418
+
constnote='<h3>Allow use of current location, if prompted</h3>';
0 commit comments