Code Duplication    Length = 4-6 lines in 2 locations

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

@@ 5870-5875 (lines=6) @@
5867
  function d3_ease_cubic(t) {
5868
    return t * t * t;
5869
  }
5870
  function d3_ease_cubicInOut(t) {
5871
    if (t <= 0) return 0;
5872
    if (t >= 1) return 1;
5873
    var t2 = t * t, t3 = t2 * t;
5874
    return 4 * (t < .5 ? t3 : 3 * (t - t2) + t3 - .75);
5875
  }
5876
  function d3_ease_poly(e) {
5877
    return function(t) {
5878
      return Math.pow(t, e);
@@ 3474-3477 (lines=4) @@
3471
      }
3472
    };
3473
  }
3474
  function d3_geo_clipAntimeridianIntersect(λ0, φ0, λ1, φ1) {
3475
    var cosφ0, cosφ1, sinλ0_λ1 = Math.sin(λ0 - λ1);
3476
    return abs(sinλ0_λ1) > ε ? Math.atan((Math.sin(φ0) * (cosφ1 = Math.cos(φ1)) * Math.sin(λ1) - Math.sin(φ1) * (cosφ0 = Math.cos(φ0)) * Math.sin(λ0)) / (cosφ0 * cosφ1 * sinλ0_λ1)) : (φ0 + φ1) / 2;
3477
  }
3478
  function d3_geo_clipAntimeridianInterpolate(from, to, direction, listener) {
3479
    var φ;
3480
    if (from == null) {