You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/08/27 17:33:37 UTC

[2/2] js commit: [android + win8] jake fixwhitespace

[android + win8] jake fixwhitespace


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

Branch: refs/heads/master
Commit: 3505b51f98b45e70616c1817643968efa84b9c25
Parents: 7715e09
Author: Fil Maj <ma...@gmail.com>
Authored: Mon Aug 27 08:20:27 2012 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Mon Aug 27 08:20:27 2012 -0700

----------------------------------------------------------------------
 lib/android/exec.js                          |    2 +-
 lib/windows8/plugin/windows8/CaptureProxy.js |    8 ++++----
 lib/windows8/plugin/windows8/console.js      |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3505b51f/lib/android/exec.js
----------------------------------------------------------------------
diff --git a/lib/android/exec.js b/lib/android/exec.js
index e0ab09c..711b637 100644
--- a/lib/android/exec.js
+++ b/lib/android/exec.js
@@ -65,7 +65,7 @@ function androidExec(success, fail, service, action, args) {
       }
 
       if (jsToNativeBridgeMode == jsToNativeModes.LOCATION_CHANGE) {
-          window.location = 'http://cdv_exec/' + service + '#' + action + '#' + callbackId + '#' + argsJson; 
+          window.location = 'http://cdv_exec/' + service + '#' + action + '#' + callbackId + '#' + argsJson;
       } else if (jsToNativeBridgeMode == jsToNativeModes.JS_OBJECT) {
           // Explicit cast to string is required on Android 2.1 to convert from
           // a Java string to a JS string.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3505b51f/lib/windows8/plugin/windows8/CaptureProxy.js
----------------------------------------------------------------------
diff --git a/lib/windows8/plugin/windows8/CaptureProxy.js b/lib/windows8/plugin/windows8/CaptureProxy.js
index e795ce9..83a9ee4 100644
--- a/lib/windows8/plugin/windows8/CaptureProxy.js
+++ b/lib/windows8/plugin/windows8/CaptureProxy.js
@@ -6,7 +6,7 @@ var CaptureVideoOptions = require('cordova/plugin/CaptureVideoOptions');
 var MediaFileData = require('cordova/plugin/MediaFileData');
 
 module.exports = {
-    
+
     // No UI support. The duration of the audio recording.
     cameraCaptureAudioDuration: null,
 
@@ -97,9 +97,9 @@ module.exports = {
                 errorCallback(new CaptureError(CaptureError.CAPTURE_NO_MEDIA_FILES));
             });
         }, function () { errorCallback(new CaptureError(CaptureError.CAPTURE_NO_MEDIA_FILES)); })
-    
+
     },
-    
+
     getFormatData:function (successCallback, errorCallback, args) {
         var contentType = args[1];
         Windows.Storage.StorageFile.getFileFromPathAsync(args[0]).then(function (storageFile) {
@@ -131,4 +131,4 @@ module.exports = {
             }
         )
     }
-}    
+}

http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3505b51f/lib/windows8/plugin/windows8/console.js
----------------------------------------------------------------------
diff --git a/lib/windows8/plugin/windows8/console.js b/lib/windows8/plugin/windows8/console.js
index a0ada8e..5fb911a 100644
--- a/lib/windows8/plugin/windows8/console.js
+++ b/lib/windows8/plugin/windows8/console.js
@@ -18,7 +18,7 @@ if(!console || !console.log)
     module.exports = debugConsole;
 }
 else if(console && console.log) {
-    
+
   console.log("console.log exists already!");
   console.warn = console.warn || function(msg){console.log("warn:"+msg);};
   console.error = console.error || function(msg){console.log("error:"+msg);};