Sign in
apache
/
cordova-js
/
refs/tags/1.8.0rc1
/
.
/
lib
/
common
/
plugin
/
Acceleration.js
blob: 93c7a1997bf58c871db574a53dbfd39d57203dd9 [
file
] [
log
] [
blame
]
var
Acceleration
=
function
(
x
,
y
,
z
,
timestamp
)
{
this
.
x
=
x
;
this
.
y
=
y
;
this
.
z
=
z
;
this
.
timestamp
=
timestamp
||
(
new
Date
()).
getTime
();
};
module
.
exports
=
Acceleration
;