You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/10/28 00:27:32 UTC
cordova-plugin-device-orientation git commit: CB-4596 Fix timestamp
to be DOMTimeStamp across the board
Repository: cordova-plugin-device-orientation
Updated Branches:
refs/heads/master 7bbed8e8a -> 298abb9fc
CB-4596 Fix timestamp to be DOMTimeStamp across the board
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/298abb9f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/298abb9f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/298abb9f
Branch: refs/heads/master
Commit: 298abb9fc1c1695066c6783f7d1b8e6addd94dd5
Parents: 7bbed8e
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue Oct 27 16:27:07 2015 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue Oct 27 16:27:07 2015 -0700
----------------------------------------------------------------------
README.md | 2 +-
src/blackberry10/index.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/298abb9f/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 34b8d85..f734173 100644
--- a/README.md
+++ b/README.md
@@ -168,7 +168,7 @@ A `CompassHeading` object is returned to the `compassSuccess` callback function.
- __headingAccuracy__: The deviation in degrees between the reported heading and the true heading. _(Number)_
-- __timestamp__: The time at which this heading was determined. _(milliseconds)_
+- __timestamp__: The time at which this heading was determined. _(DOMTimeStamp)_
### Amazon Fire OS Quirks
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/298abb9f/src/blackberry10/index.js
----------------------------------------------------------------------
diff --git a/src/blackberry10/index.js b/src/blackberry10/index.js
index e3f0f94..8f0278d 100644
--- a/src/blackberry10/index.js
+++ b/src/blackberry10/index.js
@@ -22,7 +22,7 @@ module.exports = {
magneticHeading: orientation.alpha,
trueHeading: 360-orientation.alpha,
headingAccuracy: 360-(2*orientation.alpha),
- timestamp: new Date().getTime
+ timestamp: new Date().getTime()
};
window.removeEventListener("deviceorientation", callback);
result.callbackOk(info, false);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org