Last change
on this file since 249 was
249,
checked in by hendrikvanantwerpen, 13 years ago
|
This one's for Subversion, because it's so close...
First widget (stripped down sequencer).
Seperated client and server code in two direcotry trees.
|
File size:
258 bytes
|
Line | |
---|
1 | d3.svg.touches = function(container) { |
---|
2 | var touches = d3.event.touches; |
---|
3 | return touches ? d3_array(touches).map(function(touch) { |
---|
4 | var point = d3_svg_mousePoint(container, touch); |
---|
5 | point.identifier = touch.identifier; |
---|
6 | return point; |
---|
7 | }) : []; |
---|
8 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.