Update README.md
Unnecessary semicolon remove
diff --git a/README.md b/README.md
index 84b841e..9ab1ad5 100644
--- a/README.md
+++ b/README.md
@@ -76,11 +76,11 @@
'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 @@
'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