sync with apache/incubator-cordova-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/3a826472 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/3a826472 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/3a826472 Branch: refs/heads/master Commit: 3a826472f2846035436627f77784fd6a01776593 Parents: eb0528d Author: mingfeng <mingfengwan...@gmail.com> Authored: Tue Oct 16 12:46:00 2012 +0800 Committer: hermwong <herm.w...@gmail.com> Committed: Mon Oct 22 11:30:46 2012 -0700 ---------------------------------------------------------------------- lib/common/commandProxy.js | 3 +-- lib/windows8/platform.js | 2 -- lib/windows8/plugin/windows8/CameraProxy.js | 2 +- lib/windows8/plugin/windows8/CaptureProxy.js | 2 +- lib/windows8/plugin/windows8/CompassProxy.js | 2 +- lib/windows8/plugin/windows8/DeviceProxy.js | 3 +-- lib/windows8/plugin/windows8/FileProxy.js | 4 +--- lib/windows8/plugin/windows8/FileTransferProxy.js | 2 +- lib/windows8/plugin/windows8/MediaProxy.js | 1 - lib/windows8/plugin/windows8/NotificationProxy.js | 2 +- 10 files changed, 8 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/common/commandProxy.js ---------------------------------------------------------------------- diff --git a/lib/common/commandProxy.js b/lib/common/commandProxy.js index 787ae02..e640003 100644 --- a/lib/common/commandProxy.js +++ b/lib/common/commandProxy.js @@ -43,5 +43,4 @@ module.exports = { get:function(service,action) { return ( CommandProxyMap[service] ? CommandProxyMap[service][action] : null ); } -}; - +}; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/windows8/platform.js ---------------------------------------------------------------------- diff --git a/lib/windows8/platform.js b/lib/windows8/platform.js index 6532b63..5d31114 100755 --- a/lib/windows8/platform.js +++ b/lib/windows8/platform.js @@ -39,8 +39,6 @@ require('cordova/plugin/windows8/FileTransferProxy'); require('cordova/plugin/windows8/MediaProxy'); require('cordova/plugin/windows8/NotificationProxy'); - - module.exports = { id: "windows8", initialize:function() { http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/windows8/plugin/windows8/CameraProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/CameraProxy.js b/lib/windows8/plugin/windows8/CameraProxy.js index c47b966..6dc55ce 100644 --- a/lib/windows8/plugin/windows8/CameraProxy.js +++ b/lib/windows8/plugin/windows8/CameraProxy.js @@ -344,4 +344,4 @@ module.exports = { } }; -require("cordova/commandProxy").add("Camera",module.exports); +require("cordova/commandProxy").add("Camera",module.exports); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/windows8/plugin/windows8/CaptureProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/CaptureProxy.js b/lib/windows8/plugin/windows8/CaptureProxy.js index 28739b8..6e5f3f0 100644 --- a/lib/windows8/plugin/windows8/CaptureProxy.js +++ b/lib/windows8/plugin/windows8/CaptureProxy.js @@ -158,4 +158,4 @@ module.exports = { } }; -require("cordova/commandProxy").add("Capture",module.exports); +require("cordova/commandProxy").add("Capture",module.exports); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/windows8/plugin/windows8/CompassProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/CompassProxy.js b/lib/windows8/plugin/windows8/CompassProxy.js index 5deada0..91a4037 100644 --- a/lib/windows8/plugin/windows8/CompassProxy.js +++ b/lib/windows8/plugin/windows8/CompassProxy.js @@ -62,4 +62,4 @@ module.exports = { } }; -require("cordova/commandProxy").add("Compass",module.exports); +require("cordova/commandProxy").add("Compass",module.exports); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/windows8/plugin/windows8/DeviceProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/DeviceProxy.js b/lib/windows8/plugin/windows8/DeviceProxy.js index 627ce4c..02e4727 100644 --- a/lib/windows8/plugin/windows8/DeviceProxy.js +++ b/lib/windows8/plugin/windows8/DeviceProxy.js @@ -53,5 +53,4 @@ module.exports = { }; -require("cordova/commandProxy").add("Device",module.exports); - +require("cordova/commandProxy").add("Device",module.exports); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/windows8/plugin/windows8/FileProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/FileProxy.js b/lib/windows8/plugin/windows8/FileProxy.js index 87af738..7d4c105 100644 --- a/lib/windows8/plugin/windows8/FileProxy.js +++ b/lib/windows8/plugin/windows8/FileProxy.js @@ -19,7 +19,6 @@ * */ - var cordova = require('cordova'); var Entry = require('cordova/plugin/Entry'), File = require('cordova/plugin/File'), @@ -30,7 +29,6 @@ var Entry = require('cordova/plugin/Entry'), FileSystem = require('cordova/plugin/FileSystem'), LocalFileSystem = require('cordova/plugin/LocalFileSystem'); - module.exports = { getFileMetadata:function(win,fail,args) { @@ -849,4 +847,4 @@ module.exports = { }; -require("cordova/commandProxy").add("File",module.exports); +require("cordova/commandProxy").add("File",module.exports); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/windows8/plugin/windows8/FileTransferProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/FileTransferProxy.js b/lib/windows8/plugin/windows8/FileTransferProxy.js index 00b65cf..1ce79d0 100644 --- a/lib/windows8/plugin/windows8/FileTransferProxy.js +++ b/lib/windows8/plugin/windows8/FileTransferProxy.js @@ -107,4 +107,4 @@ module.exports = { } }; -require("cordova/commandProxy").add("FileTransfer",module.exports); +require("cordova/commandProxy").add("FileTransfer",module.exports); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/windows8/plugin/windows8/MediaProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/MediaProxy.js b/lib/windows8/plugin/windows8/MediaProxy.js index 93620ac..2f03382 100644 --- a/lib/windows8/plugin/windows8/MediaProxy.js +++ b/lib/windows8/plugin/windows8/MediaProxy.js @@ -24,7 +24,6 @@ var cordova = require('cordova'), Media = require('cordova/plugin/Media'); - module.exports = { mediaCaptureMrg:null, http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/3a826472/lib/windows8/plugin/windows8/NotificationProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/NotificationProxy.js b/lib/windows8/plugin/windows8/NotificationProxy.js index 2757a0a..56b4012 100644 --- a/lib/windows8/plugin/windows8/NotificationProxy.js +++ b/lib/windows8/plugin/windows8/NotificationProxy.js @@ -82,4 +82,4 @@ module.exports = { } }; -require("cordova/commandProxy").add("Notification",module.exports); +require("cordova/commandProxy").add("Notification",module.exports); \ No newline at end of file