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 <[email protected]>
Authored: Tue Oct 27 16:27:07 2015 -0700
Committer: Jesse MacFadyen <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to