Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dorukeker committed Aug 11, 2015
1 parent 1d6e17d commit a71c5dc
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 a71c5dc

Please sign in to comment.