Skip to content

Commit 8200c19

Browse files
Doruk EkerDoruk Eker
authored andcommitted
2 parents 46bcb40 + a71c5dc commit 8200c19

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)