[windows8] more linting

Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/b7efdc00
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/b7efdc00
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/b7efdc00

Branch: refs/heads/master
Commit: b7efdc00271aab23f54c42f7d0069726d5172590
Parents: e445247
Author: purplecabbage <purplecabb...@gmail.com>
Authored: Thu Oct 18 19:36:05 2012 -0700
Committer: purplecabbage <purplecabb...@gmail.com>
Committed: Thu Oct 18 19:36:05 2012 -0700

----------------------------------------------------------------------
 lib/windows8/plugin/windows8/FileProxy.js   |    6 +++---
 lib/windows8/plugin/windows8/geolocation.js |    2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/b7efdc00/lib/windows8/plugin/windows8/FileProxy.js
----------------------------------------------------------------------
diff --git a/lib/windows8/plugin/windows8/FileProxy.js 
b/lib/windows8/plugin/windows8/FileProxy.js
index 12d6a99..60ac6fd 100644
--- a/lib/windows8/plugin/windows8/FileProxy.js
+++ b/lib/windows8/plugin/windows8/FileProxy.js
@@ -278,7 +278,7 @@ module.exports = {
                                         fail && 
fail(FileError.INVALID_MODIFICATION_ERR);
                                     }
                                 }
-                            // check sub-folders.  
+                            // check sub-folders.
                             }).then(function (folderList) {
                                 if (folderList) {
                                     if (folderList.length === 0) {
@@ -325,7 +325,7 @@ module.exports = {
                         storageFolderTop = storageFolder;
                         return fileListPromise;
                     }
-                // remove all the files directly under the folder. 
+                // remove all the files directly under the folder.
                 ).then(function (fileList) {
                     if (fileList !== null) {
                         for (var i = 0; i < fileList.length; i++) {
@@ -351,7 +351,7 @@ module.exports = {
                             storageFolderTop.deleteAsync().then(complete);
                         }
                     }, function () { });
-                }, function () { });;
+                }, function () { });
             });
         };
         removeFolders(storageFolder.path).then(function () {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/b7efdc00/lib/windows8/plugin/windows8/geolocation.js
----------------------------------------------------------------------
diff --git a/lib/windows8/plugin/windows8/geolocation.js 
b/lib/windows8/plugin/windows8/geolocation.js
index ab16087..e6af048 100644
--- a/lib/windows8/plugin/windows8/geolocation.js
+++ b/lib/windows8/plugin/windows8/geolocation.js
@@ -31,6 +31,8 @@ module.exports = { // Merges with common
         // options.enableHighAccuracy
         // options.maximumAge
         // options.timeout
+        
+        var options = args[0];
 
         var geolocator = new Windows.Devices.Geolocation.Geolocator();
         if (options.enableHighAccuracy) {

Reply via email to