Skip to content

Commit aa69e1b

Browse files
committed
CB-10574: MobileSpec can't get results for WP8.1 Builds
Adding 'var' to make the variable local.
1 parent e8c921a commit aa69e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows/GeolocationProxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var FALLBACK_EPSILON = 0.001;
2424
function ensureAndCreateLocator() {
2525
var deferral;
2626

27-
loc = new Windows.Devices.Geolocation.Geolocator();
27+
var loc = new Windows.Devices.Geolocation.Geolocator();
2828

2929
if (typeof Windows.Devices.Geolocation.Geolocator.requestAccessAsync === 'function') {
3030
deferral = Windows.Devices.Geolocation.Geolocator.requestAccessAsync().then(function (result) {

0 commit comments

Comments
 (0)