Code Duplication    Length = 8-8 lines in 2 locations

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

@@ 4538-4545 (lines=8) @@
4535
      if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _;
4536
      return graticule.precision(precision);
4537
    };
4538
    graticule.minorExtent = function(_) {
4539
      if (!arguments.length) return [ [ x0, y0 ], [ x1, y1 ] ];
4540
      x0 = +_[0][0], x1 = +_[1][0];
4541
      y0 = +_[0][1], y1 = +_[1][1];
4542
      if (x0 > x1) _ = x0, x0 = x1, x1 = _;
4543
      if (y0 > y1) _ = y0, y0 = y1, y1 = _;
4544
      return graticule.precision(precision);
4545
    };
4546
    graticule.step = function(_) {
4547
      if (!arguments.length) return graticule.minorStep();
4548
      return graticule.majorStep(_).minorStep(_);
@@ 4530-4537 (lines=8) @@
4527
      if (!arguments.length) return graticule.minorExtent();
4528
      return graticule.majorExtent(_).minorExtent(_);
4529
    };
4530
    graticule.majorExtent = function(_) {
4531
      if (!arguments.length) return [ [ X0, Y0 ], [ X1, Y1 ] ];
4532
      X0 = +_[0][0], X1 = +_[1][0];
4533
      Y0 = +_[0][1], Y1 = +_[1][1];
4534
      if (X0 > X1) _ = X0, X0 = X1, X1 = _;
4535
      if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _;
4536
      return graticule.precision(precision);
4537
    };
4538
    graticule.minorExtent = function(_) {
4539
      if (!arguments.length) return [ [ x0, y0 ], [ x1, y1 ] ];
4540
      x0 = +_[0][0], x1 = +_[1][0];