You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/08/14 23:54:38 UTC

[02/11] git commit: [Windows8] Windows8 is now supported

[Windows8] Windows8 is now supported


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/commit/bb2128e4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/tree/bb2128e4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/diff/bb2128e4

Branch: refs/heads/dev
Commit: bb2128e484fb7ade9a828e337ed4411f99432b12
Parents: 61fa9c6
Author: purplecabbage <pu...@gmail.com>
Authored: Mon Jul 29 17:27:44 2013 -0700
Committer: purplecabbage <pu...@gmail.com>
Committed: Mon Jul 29 17:27:44 2013 -0700

----------------------------------------------------------------------
 plugin.xml                  | 2 +-
 src/windows8/DeviceProxy.js | 6 +-----
 2 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/blob/bb2128e4/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index f53799c..1cf4835 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -73,8 +73,8 @@
     <!-- windows8 -->
     <platform name="windows8">
         <js-module src="src/windows8/DeviceProxy.js" name="DeviceProxy">
+            <merges target="" />
         </js-module>
-        <!--<source-file src="src/windows8/DeviceProxy.js" target-dir="wtf" /> -->
     </platform>
 
 </plugin>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device/blob/bb2128e4/src/windows8/DeviceProxy.js
----------------------------------------------------------------------
diff --git a/src/windows8/DeviceProxy.js b/src/windows8/DeviceProxy.js
index a0e1412..bd57323 100644
--- a/src/windows8/DeviceProxy.js
+++ b/src/windows8/DeviceProxy.js
@@ -1,5 +1,3 @@
-
-cordova.define("org.apache.cordova.core.device.DeviceProxy", function (require, exports, module) {
 /*
  *
  * Licensed to the Apache Software Foundation (ASF) under one
@@ -48,7 +46,5 @@ module.exports = {
 
 };
 
+require("cordova/commandProxy").add("Device", module.exports);
 
-    require("cordova/commandProxy").add("Device", module.exports);
-
-});