You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/06/29 03:58:07 UTC

git commit: Fix require paths that were broken by plugin id changes

Updated Branches:
  refs/heads/master 4b2cc3ffd -> 65b5d574a


Fix require paths that were broken by plugin id changes


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/65b5d574
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/65b5d574
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/65b5d574

Branch: refs/heads/master
Commit: 65b5d574a90e1ab5ddcb2a3f1462f0e9b59ce072
Parents: 4b2cc3f
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jun 28 19:46:10 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Jun 28 21:40:51 2013 -0400

----------------------------------------------------------------------
 docs/parameters/accelerometerError.md   | 2 +-
 docs/parameters/accelerometerOptions.md | 2 +-
 docs/parameters/accelerometerSuccess.md | 2 +-
 www/accelerometer.js                    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/65b5d574/docs/parameters/accelerometerError.md
----------------------------------------------------------------------
diff --git a/docs/parameters/accelerometerError.md b/docs/parameters/accelerometerError.md
index c908c16..814df4d 100644
--- a/docs/parameters/accelerometerError.md
+++ b/docs/parameters/accelerometerError.md
@@ -24,4 +24,4 @@ onError callback function for acceleration functions.
 
     function() {
         // Handle the error
-    }
\ No newline at end of file
+    }

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/65b5d574/docs/parameters/accelerometerOptions.md
----------------------------------------------------------------------
diff --git a/docs/parameters/accelerometerOptions.md b/docs/parameters/accelerometerOptions.md
index 197f416..9e8211d 100644
--- a/docs/parameters/accelerometerOptions.md
+++ b/docs/parameters/accelerometerOptions.md
@@ -25,4 +25,4 @@ An optional parameter to customize the retrieval of the accelerometer.
 Options
 -------
 
-- __frequency:__ How often to retrieve the `Acceleration` in milliseconds. _(Number)_ (Default: 10000)
\ No newline at end of file
+- __frequency:__ How often to retrieve the `Acceleration` in milliseconds. _(Number)_ (Default: 10000)

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/65b5d574/docs/parameters/accelerometerSuccess.md
----------------------------------------------------------------------
diff --git a/docs/parameters/accelerometerSuccess.md b/docs/parameters/accelerometerSuccess.md
index 277fca8..4e68fb6 100644
--- a/docs/parameters/accelerometerSuccess.md
+++ b/docs/parameters/accelerometerSuccess.md
@@ -39,4 +39,4 @@ Example
               'Acceleration Y: ' + acceleration.y + '\n' +
               'Acceleration Z: ' + acceleration.z + '\n' +
               'Timestamp: '      + acceleration.timestamp + '\n');
-    };
\ No newline at end of file
+    };

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/65b5d574/www/accelerometer.js
----------------------------------------------------------------------
diff --git a/www/accelerometer.js b/www/accelerometer.js
index 29f5183..3d0f0b8 100644
--- a/www/accelerometer.js
+++ b/www/accelerometer.js
@@ -26,7 +26,7 @@
 var argscheck = require('cordova/argscheck'),
     utils = require("cordova/utils"),
     exec = require("cordova/exec"),
-    Acceleration = require('org.apache.cordova.core.AccelListener.Acceleration');
+    Acceleration = require('org.apache.cordova.core.device-motion.Acceleration');
 
 // Is the accel sensor running?
 var running = false;