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/05/14 23:01:10 UTC

[2/2] git commit: merged changes to require path in compass.js

merged changes to require path in compass.js


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

Branch: refs/heads/master
Commit: 89a331d7dcbec59623b41f0f62dc0e958c9ad276
Parents: a81a143 0fc2021
Author: hermwong <he...@gmail.com>
Authored: Tue May 14 14:00:53 2013 -0700
Committer: hermwong <he...@gmail.com>
Committed: Tue May 14 14:00:53 2013 -0700

----------------------------------------------------------------------
 plugin.xml     |   18 +++++++++++-------
 www/compass.js |    5 +++--
 2 files changed, 14 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/89a331d7/www/compass.js
----------------------------------------------------------------------
diff --cc www/compass.js
index 3f64612,80bfe83..a56a446
--- a/www/compass.js
+++ b/www/compass.js
@@@ -22,8 -22,8 +22,9 @@@
  var argscheck = require('cordova/argscheck'),
      exec = require('cordova/exec'),
      utils = require('cordova/utils'),
-     CompassHeading = require('www/CompassHeading'),
-     CompassError = require('www/CompassError'),
+     CompassHeading = require('org.apache.cordova.core.CompassListener.CompassHeading'),
+     CompassError = require('org.apache.cordova.core.CompassListener.CompassError'),
++
      timers = {},
      compass = {
          /**