Skip to content

Commit

Permalink
fixed issue on chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
Andor Salga committed Aug 25, 2011
1 parent ed189a1 commit b085e7d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions demos/accelerometer/demo.js
Expand Up @@ -52,11 +52,6 @@ function handleOrientation(eventData){
}

function start(){

if(!window.DeviceMotionEvent){
document.getElementById('msg').innerHTML = "Your browser does not support the motion event.";
}

ps = new PointStream();
ps.setup(document.getElementById('canvas'));
ps.background([0.3, 0.5, 0.6, 0.6]);
Expand Down

0 comments on commit b085e7d

Please sign in to comment.