Skip to content

Commit

Permalink
[android + win8] jake fixwhitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
filmaj committed Aug 27, 2012
1 parent 7715e09 commit 3505b51
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/android/exec.js
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions lib/windows8/plugin/windows8/CaptureProxy.js
Expand Up @@ -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,

Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -131,4 +131,4 @@ module.exports = {
}
)
}
}
}
2 changes: 1 addition & 1 deletion lib/windows8/plugin/windows8/console.js
Expand Up @@ -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);};
Expand Down

0 comments on commit 3505b51

Please sign in to comment.