()
| 1093 | d3.behavior.zoom = function() { |
| 1094 | var translate = [ 0, 0 ], translate0, scale = 1, scale0, scaleExtent = d3_behavior_zoomInfinity, event = d3_eventDispatch(zoom, "zoom"), x0, x1, y0, y1, touchtime; |
| 1095 | function zoom() { |
| 1096 | this.on("mousedown.zoom", mousedown).on("mousemove.zoom", mousemove).on(d3_behavior_zoomWheel + ".zoom", mousewheel).on("dblclick.zoom", dblclick).on("touchstart.zoom", touchstart).on("touchmove.zoom", touchmove).on("touchend.zoom", touchstart); |
| 1097 | } |
| 1098 | zoom.translate = function(x) { |
| 1099 | if (!arguments.length) return translate; |
| 1100 | translate = x.map(Number); |
nothing calls this directly
no outgoing calls
no test coverage detected