You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/10/06 11:19:20 UTC
[11/45] js commit: Fixed typos
Fixed typos
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/63951fc2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/63951fc2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/63951fc2
Branch: refs/heads/master
Commit: 63951fc239b2e02ae9041f54d7fbf62a91f68e29
Parents: 2d81340
Author: mpberk <ma...@intel.com>
Authored: Thu Sep 27 08:23:38 2012 -0700
Committer: mpberk <ma...@intel.com>
Committed: Thu Sep 27 08:23:38 2012 -0700
----------------------------------------------------------------------
lib/windows8/exec.js | 2 +-
lib/windows8/plugin/windows8/CameraProxy.js | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/63951fc2/lib/windows8/exec.js
----------------------------------------------------------------------
diff --git a/lib/windows8/exec.js b/lib/windows8/exec.js
index baa7a3a..49a2712 100644
--- a/lib/windows8/exec.js
+++ b/lib/windows8/exec.js
@@ -42,7 +42,7 @@ function getCP() {
};
}
return CommandProxy;
-};
+}
module.exports = function(success, fail, service, action, args) {
var CommandProxy = getCP();
http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/63951fc2/lib/windows8/plugin/windows8/CameraProxy.js
----------------------------------------------------------------------
diff --git a/lib/windows8/plugin/windows8/CameraProxy.js b/lib/windows8/plugin/windows8/CameraProxy.js
index 7d0ce25..9fbb830 100644
--- a/lib/windows8/plugin/windows8/CameraProxy.js
+++ b/lib/windows8/plugin/windows8/CameraProxy.js
@@ -4,7 +4,7 @@
var cordova = require('cordova'),
Camera = require('cordova/plugin/CameraConstants'),
FileEntry = require('cordova/plugin/FileEntry'),
- FileError = require('cordova/plugin/FileError');,
+ FileError = require('cordova/plugin/FileError'),
FileReader = require('cordova/plugin/FileReader');
module.exports = {
@@ -33,8 +33,8 @@ module.exports = {
var saveToPhotoAlbum = args[9];
- var package = Windows.ApplicationModel.Package.current;
- var packageId = package.installedLocation;
+ var appModelPackage = Windows.ApplicationModel.Package.current;
+ var packageId = appModelPackage.installedLocation;
// resize method :)
var resizeImage = function (file) {