Sha256: 5dab11ad7a5abed15a495e68ba3d9e36a7c7d721267a91b16bdb8f0abc822ba2

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

import "../core/array";
import "event";
import "mouse";

d3.touches = function(container, touches) {
  if (arguments.length < 2) touches = d3_eventSource().touches;
  return touches ? d3_array(touches).map(function(touch) {
    var point = d3_mousePoint(container, touch);
    point.identifier = touch.identifier;
    return point;
  }) : [];
};

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
mdarray-sol-0.1.0-java node_modules/dc/node_modules/d3/src/event/touches.js
stripchart-0.0.3 lib/stripchart/public/components/d3/src/event/touches.js
stripmem-0.0.3 lib/stripmem/public/components/d3/src/event/touches.js
stripmem-0.0.2 lib/stripmem/public/components/d3/src/event/touches.js
stripmem-0.0.1 lib/stripmem/public/components/d3/src/event/touches.js