Skip to content

Commit a71c5dc

Browse files
committed
Update README.md
1 parent 1d6e17d commit a71c5dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ Access the values in the callback function of the `gn.start()`
6060
// data.dm.beta ( devicemotion event rotationRate beta value )
6161
// data.dm.gamma ( devicemotion event rotationRate gamma value )
6262
});
63+
}).catch(function(e){
64+
// Catch if the DeviceOrientation or DeviceMotion is not supported by the browser or device
6365
});
6466
</script>
6567
```

0 commit comments

Comments
 (0)