incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [21/45] js commit: Fixed typo in captureproxy and platform.js
Date Sat, 06 Oct 2012 09:19:20 GMT
Fixed typo in captureproxy and platform.js


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/4c6cde21
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/4c6cde21
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/4c6cde21

Branch: refs/heads/master
Commit: 4c6cde218b14a096489128d623338f48e986b5f6
Parents: 6277535
Author: mpberk <matthew.p.berk@intel.com>
Authored: Wed Sep 26 09:48:49 2012 -0700
Committer: mpberk <matthew.p.berk@intel.com>
Committed: Wed Sep 26 09:48:49 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/4c6cde21/lib/windows8/platform.js
----------------------------------------------------------------------
diff --git a/lib/windows8/platform.js b/lib/windows8/platform.js
index 354a85d..d4673c2 100644
--- a/lib/windows8/platform.js
+++ b/lib/windows8/platform.js
@@ -23,10 +23,12 @@ module.exports = {
                 }
             }
         }
-       
+
     },
     merges: {
-	
+        file: {
+            path: 'cordova/plugin/windows8/file'
+        },
         navigator: {
             children: {
                 geolocation: {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/4c6cde21/lib/windows8/plugin/windows8/CaptureProxy.js
----------------------------------------------------------------------
diff --git a/lib/windows8/plugin/windows8/CaptureProxy.js b/lib/windows8/plugin/windows8/CaptureProxy.js
index cf433e8..36af365 100644
--- a/lib/windows8/plugin/windows8/CaptureProxy.js
+++ b/lib/windows8/plugin/windows8/CaptureProxy.js
@@ -15,7 +15,7 @@ module.exports = {
         var audioOptions = new CaptureAudioOptions();
         if (typeof(options.duration) == 'undefined') {
             audioOptions.duration = 3600; // Arbitrary amount, need to change later
-        else if (options.duration > 0) {
+        } else if (options.duration > 0) {
             audioOptions.duration = options.duration;
         } else {
             errorCallback(new CaptureError(CaptureError.CAPTURE_INVALID_ARGUMENT));


Mime
View raw message