You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by he...@apache.org on 2013/04/26 01:14:35 UTC
git commit: added config to plugin.xml
Updated Branches:
refs/heads/master d25d74dde -> d0c8408b2
added <js-module> config to plugin.xml
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/commit/d0c8408b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/d0c8408b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/d0c8408b
Branch: refs/heads/master
Commit: d0c8408b250237ceb9e783adfa4588668a3e38da
Parents: d25d74d
Author: hermwong <he...@gmail.com>
Authored: Thu Apr 25 16:14:15 2013 -0700
Committer: hermwong <he...@gmail.com>
Committed: Thu Apr 25 16:14:15 2013 -0700
----------------------------------------------------------------------
plugin.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/d0c8408b/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 6501fea..60fba9f 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -7,6 +7,10 @@ id="org.apache.cordova.core.AccelListener"
<name>Device Motion</name>
+ <js-module src="www/device-motion.js" name="accelerometer">
+ <clobbers target="navigator.accelerometer" />
+ </js-module>
+
<!-- android -->
<platform name="android">