Skip to content

Commit

Permalink
update readme for finger.points removal
Browse files Browse the repository at this point in the history
  • Loading branch information
jairajs89 committed Aug 9, 2012
1 parent 54b9fb2 commit 598e316
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ var toucher = Touchy(touchMe, function (hand, finger) {

// This callback is fired when finger is released from the screen.
finger.on('end', function (point) {
// 'finger.points' holds the entire path that the finger moved through.
finger.points.forEach(function (point) {
console.log('time:', point.time);
console.log('left:', point.x );
console.log(' top:', point.y );
});
console.log('finger stopped moving');
});

// finger.lastPoint refers to the last touched point by the
// finger at any given time.
});
```

Expand Down

0 comments on commit 598e316

Please sign in to comment.