Repository: cordova-plugin-geolocation
Updated Branches:
  refs/heads/master e8c921af3 -> aa69e1bf1


CB-10574: MobileSpec can't get results for WP8.1 Builds

Adding 'var' to make the variable local.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/aa69e1bf
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/aa69e1bf
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/aa69e1bf

Branch: refs/heads/master
Commit: aa69e1bf15c5a317d5790045336fd5457eaa8ec7
Parents: e8c921a
Author: Sarangan Rajamanickam <[email protected]>
Authored: Tue Feb 16 13:24:58 2016 -0800
Committer: Sarangan Rajamanickam <[email protected]>
Committed: Tue Feb 16 13:24:58 2016 -0800

----------------------------------------------------------------------
 src/windows/GeolocationProxy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/aa69e1bf/src/windows/GeolocationProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/GeolocationProxy.js b/src/windows/GeolocationProxy.js
index 93adef9..3f1a42d 100644
--- a/src/windows/GeolocationProxy.js
+++ b/src/windows/GeolocationProxy.js
@@ -24,7 +24,7 @@ var FALLBACK_EPSILON = 0.001;
 function ensureAndCreateLocator() {
     var deferral;
 
-    loc = new Windows.Devices.Geolocation.Geolocator();
+    var loc = new Windows.Devices.Geolocation.Geolocator();
 
     if (typeof Windows.Devices.Geolocation.Geolocator.requestAccessAsync === 
'function') {
         deferral = 
Windows.Devices.Geolocation.Geolocator.requestAccessAsync().then(function 
(result) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to