Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Doruk Eker authored and Doruk Eker committed Aug 11, 2015
2 parents 46bcb40 + a71c5dc commit 8200c19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Access the values in the callback function of the `gn.start()`
// data.dm.beta ( devicemotion event rotationRate beta value )
// data.dm.gamma ( devicemotion event rotationRate gamma value )
});
}).catch(function(e){
// Catch if the DeviceOrientation or DeviceMotion is not supported by the browser or device
});
</script>
```
Expand Down

0 comments on commit 8200c19

Please sign in to comment.