Update README.md Unnecessary semicolon remove
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/7083aede Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/tree/7083aede Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/diff/7083aede Branch: refs/heads/master Commit: 7083aededf361c4ca0a36556b32e5e452a89b700 Parents: b0f8e43 Author: Max Deepfield <[email protected]> Authored: Mon Aug 17 20:23:40 2015 +0300 Committer: Max Deepfield <[email protected]> Committed: Mon Aug 17 20:23:40 2015 +0300 ---------------------------------------------------------------------- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-motion/blob/7083aede/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 84b841e..9ab1ad5 100644 --- a/README.md +++ b/README.md @@ -76,11 +76,11 @@ callback function. 'Acceleration Y: ' + acceleration.y + '\n' + 'Acceleration Z: ' + acceleration.z + '\n' + 'Timestamp: ' + acceleration.timestamp + '\n'); - }; + } function onError() { alert('onError!'); - }; + } navigator.accelerometer.getCurrentAcceleration(onSuccess, onError); @@ -121,11 +121,11 @@ accelerometer. 'Acceleration Y: ' + acceleration.y + '\n' + 'Acceleration Z: ' + acceleration.z + '\n' + 'Timestamp: ' + acceleration.timestamp + '\n'); - }; + } function onError() { alert('onError!'); - }; + } var options = { frequency: 3000 }; // Update every 3 seconds --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
