Code Duplication    Length = 5-6 lines in 2 locations

doc/phpmetrics/js/d3.v3.js 2 locations

@@ 5644-5649 (lines=6) @@
5641
    quadtree.y = function(_) {
5642
      return arguments.length ? (y = _, quadtree) : y;
5643
    };
5644
    quadtree.extent = function(_) {
5645
      if (!arguments.length) return x1 == null ? null : [ [ x1, y1 ], [ x2, y2 ] ];
5646
      if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = +_[0][0], y1 = +_[0][1], x2 = +_[1][0], 
5647
      y2 = +_[1][1];
5648
      return quadtree;
5649
    };
5650
    quadtree.size = function(_) {
5651
      if (!arguments.length) return x1 == null ? null : [ x2 - x1, y2 - y1 ];
5652
      if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = y1 = 0, x2 = +_[0], y2 = +_[1];
@@ 5650-5654 (lines=5) @@
5647
      y2 = +_[1][1];
5648
      return quadtree;
5649
    };
5650
    quadtree.size = function(_) {
5651
      if (!arguments.length) return x1 == null ? null : [ x2 - x1, y2 - y1 ];
5652
      if (_ == null) x1 = y1 = x2 = y2 = null; else x1 = y1 = 0, x2 = +_[0], y2 = +_[1];
5653
      return quadtree;
5654
    };
5655
    return quadtree;
5656
  };
5657
  function d3_geom_quadtreeCompatX(d) {