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/07/09 21:11:11 UTC

git commit: [CB-4131] Use relative require paths in accelerometer plugin

Updated Branches:
  refs/heads/master afee2b4cb -> 651dcb631


[CB-4131] Use relative require paths in accelerometer plugin


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

Branch: refs/heads/master
Commit: 651dcb63112f87f9de33c28afd87ecb2b7c6489e
Parents: afee2b4
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue Jul 9 14:54:18 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue Jul 9 14:54:18 2013 -0400

----------------------------------------------------------------------
 www/accelerometer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/651dcb63/www/accelerometer.js
----------------------------------------------------------------------
diff --git a/www/accelerometer.js b/www/accelerometer.js
index 3d0f0b8..b6e9f97 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.device-motion.Acceleration');
+    Acceleration = require('./Acceleration');
 
 // Is the accel sensor running?
 var running = false;