Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename assert and XMLHttpRequest.

  • Loading branch information...
commit 68be0ac8c83ae3c9a5295c1db9651e33ccc7b714 1 parent ecbf93d
@mbostock authored
Showing with 170 additions and 174 deletions.
  1. 0  test/{env-xhr.js → XMLHttpRequest.js}
  2. +1 −1  test/arrays/ascending-test.js
  3. +1 −1  test/arrays/bisect-test.js
  4. +1 −1  test/arrays/descending-test.js
  5. +1 −1  test/arrays/entries-test.js
  6. +1 −1  test/arrays/extent-test.js
  7. +1 −1  test/arrays/keys-test.js
  8. +1 −1  test/arrays/map-test.js
  9. +1 −1  test/arrays/max-test.js
  10. +1 −1  test/arrays/mean-test.js
  11. +1 −1  test/arrays/median-test.js
  12. +1 −1  test/arrays/merge-test.js
  13. +1 −1  test/arrays/min-test.js
  14. +1 −1  test/arrays/nest-test.js
  15. +1 −1  test/arrays/permute-test.js
  16. +1 −1  test/arrays/quantile-test.js
  17. +1 −1  test/arrays/range-test.js
  18. +1 −1  test/arrays/sum-test.js
  19. +1 −1  test/arrays/transpose-test.js
  20. +1 −1  test/arrays/values-test.js
  21. +1 −1  test/arrays/zip-test.js
  22. 0  test/{env-assert.js → assert.js}
  23. +1 −1  test/color/hcl-test.js
  24. +1 −1  test/color/hsl-test.js
  25. +1 −1  test/color/lab-test.js
  26. +1 −1  test/color/rgb-test.js
  27. +1 −1  test/core/functor-test.js
  28. +1 −1  test/core/ns-test.js
  29. +1 −1  test/core/rebind-test.js
  30. +1 −1  test/core/version-test.js
  31. +1 −1  test/dsv/csv-test.js
  32. +1 −1  test/dsv/tsv-test.js
  33. +1 −1  test/event/dispatch-test.js
  34. +1 −1  test/event/timer-test.js
  35. +1 −1  test/format/format-test.js
  36. +1 −1  test/format/formatPrefix-test.js
  37. +1 −1  test/format/requote-test.js
  38. +1 −1  test/format/round-test.js
  39. +1 −1  test/geo/albers-test.js
  40. +1 −1  test/geo/albers-usa-test.js
  41. +1 −1  test/geo/area-test.js
  42. +1 −1  test/geo/azimuthal-equal-area-test.js
  43. +1 −1  test/geo/azimuthal-equidistant-test.js
  44. +1 −1  test/geo/bounds-test.js
  45. +1 −1  test/geo/centroid-test.js
  46. +1 −1  test/geo/circle-test.js
  47. +1 −1  test/geo/conic-conformal-test.js
  48. +1 −1  test/geo/conic-equal-area-test.js
  49. +1 −1  test/geo/conic-equidistant-test.js
  50. +1 −1  test/geo/equirectangular-test.js
  51. +1 −1  test/geo/gnomonic-test.js
  52. +1 −1  test/geo/graticule-test.js
  53. +1 −1  test/geo/greatArc-test.js
  54. +1 −1  test/geo/interpolate-test.js
  55. +1 −1  test/geo/mercator-test.js
  56. +1 −1  test/geo/orthographic-test.js
  57. +1 −1  test/geo/path-test.js
  58. +1 −1  test/geo/projection-test-suite.js
  59. +1 −1  test/geo/projection-test.js
  60. +1 −1  test/geo/rotation-test.js
  61. +1 −1  test/geo/stereographic-test.js
  62. +1 −1  test/geo/stream-test.js
  63. +1 −1  test/geo/transverse-mercator-test.js
  64. +1 −1  test/geom/polygon-test.js
  65. +1 −1  test/geom/quadtree-test.js
  66. +1 −1  test/geom/voronoi-test.js
  67. +1 −1  test/interpolate/array-test.js
  68. +1 −1  test/interpolate/ease-test.js
  69. +1 −1  test/interpolate/hsl-test.js
  70. +1 −1  test/interpolate/interpolate-test.js
  71. +1 −1  test/interpolate/number-test.js
  72. +1 −1  test/interpolate/object-test.js
  73. +1 −1  test/interpolate/rgb-test.js
  74. +1 −1  test/interpolate/round-test.js
  75. +1 −1  test/interpolate/string-test.js
  76. +1 −1  test/layout/cluster-test.js
  77. +1 −1  test/layout/force-test.js
  78. +1 −1  test/layout/hierarchy-test.js
  79. +1 −1  test/layout/histogram-test.js
  80. +1 −1  test/layout/pack-test.js
  81. +1 −1  test/layout/partition-test.js
  82. +1 −1  test/layout/pie-test.js
  83. +1 −1  test/layout/tree-test.js
  84. +1 −1  test/layout/treemap-test.js
  85. +1 −1  test/layout/voronoi-test.js
  86. +3 −7 test/load.js
  87. +1 −1  test/math/random-test.js
  88. +1 −1  test/scale/category-test.js
  89. +1 −1  test/scale/identity-test.js
  90. +1 −1  test/scale/linear-test.js
  91. +1 −1  test/scale/log-test.js
  92. +1 −1  test/scale/ordinal-test.js
  93. +1 −1  test/scale/pow-test.js
  94. +1 −1  test/scale/quantile-test.js
  95. +1 −1  test/scale/quantize-test.js
  96. +1 −1  test/scale/sqrt-test.js
  97. +1 −1  test/scale/threshold-test.js
  98. +1 −1  test/selection/append-test.js
  99. +1 −1  test/selection/attr-test.js
  100. +1 −1  test/selection/call-test.js
  101. +1 −1  test/selection/classed-test.js
  102. +1 −1  test/selection/data-test.js
  103. +1 −1  test/selection/datum-test.js
  104. +1 −1  test/selection/each-test.js
  105. +1 −1  test/selection/empty-test.js
  106. +1 −1  test/selection/enter-test.js
  107. +1 −1  test/selection/filter-test.js
  108. +1 −1  test/selection/html-test.js
  109. +1 −1  test/selection/insert-test.js
  110. +1 −1  test/selection/node-test.js
  111. +1 −1  test/selection/on-test.js
  112. +1 −1  test/selection/order-test.js
  113. +1 −1  test/selection/property-test.js
  114. +1 −1  test/selection/remove-test.js
  115. +1 −1  test/selection/select-test.js
  116. +1 −1  test/selection/selectAll-test.js
  117. +1 −1  test/selection/selection-select-test.js
  118. +1 −1  test/selection/selection-selectAll-test.js
  119. +1 −1  test/selection/selection-test.js
  120. +1 −1  test/selection/sort-test.js
  121. +1 −1  test/selection/style-test.js
  122. +1 −1  test/selection/text-test.js
  123. +1 −1  test/svg/arc-test.js
  124. +1 −1  test/svg/area-radial-test.js
  125. +1 −1  test/svg/area-test.js
  126. +1 −1  test/svg/axis-test.js
  127. +1 −1  test/svg/brush-test.js
  128. +1 −1  test/svg/line-radial-test.js
  129. +1 −1  test/svg/line-test.js
  130. +1 −1  test/svg/symbol-test.js
  131. +1 −1  test/time/day-test.js
  132. +1 −1  test/time/dayOfYear-test.js
  133. +1 −1  test/time/days-test.js
  134. +1 −1  test/time/format-test.js
  135. +1 −1  test/time/hour-test.js
  136. +1 −1  test/time/hours-test.js
  137. +1 −1  test/time/minute-test.js
  138. +1 −1  test/time/minutes-test.js
  139. +1 −1  test/time/month-test.js
  140. +1 −1  test/time/months-test.js
  141. +1 −1  test/time/scale-test.js
  142. +1 −1  test/time/second-test.js
  143. +1 −1  test/time/seconds-test.js
  144. +1 −1  test/time/week-test.js
  145. +1 −1  test/time/weeks-test.js
  146. +1 −1  test/time/year-test.js
  147. +1 −1  test/time/years-test.js
  148. +1 −1  test/transition/transition-test-attr.js
  149. +1 −1  test/transition/transition-test-attrTween.js
  150. +1 −1  test/transition/transition-test-call.js
  151. +1 −1  test/transition/transition-test-delay.js
  152. +1 −1  test/transition/transition-test-duration.js
  153. +1 −1  test/transition/transition-test-each.js
  154. +1 −1  test/transition/transition-test-filter.js
  155. +1 −1  test/transition/transition-test-id.js
  156. +1 −1  test/transition/transition-test-remove.js
  157. +1 −1  test/transition/transition-test-select.js
  158. +1 −1  test/transition/transition-test-selectAll.js
  159. +1 −1  test/transition/transition-test-style.js
  160. +1 −1  test/transition/transition-test-styleTween.js
  161. +1 −1  test/transition/transition-test-text.js
  162. +1 −1  test/transition/transition-test-time.js
  163. +1 −1  test/transition/transition-test-transition.js
  164. +1 −1  test/transition/transition-test-tween.js
  165. +1 −1  test/transition/transition-test.js
  166. +1 −1  test/xhr/html-test.js
  167. +1 −1  test/xhr/json-test.js
  168. +1 −1  test/xhr/text-test.js
  169. +1 −1  test/xhr/xhr-test.js
  170. +1 −1  test/xhr/xml-test.js
View
0  test/env-xhr.js → test/XMLHttpRequest.js
File renamed without changes
View
2  test/arrays/ascending-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.ascending");
View
2  test/arrays/bisect-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.bisect");
View
2  test/arrays/descending-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.descending");
View
2  test/arrays/entries-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.entries");
View
2  test/arrays/extent-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.extent");
View
2  test/arrays/keys-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.keys");
View
2  test/arrays/map-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.map");
View
2  test/arrays/max-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.max");
View
2  test/arrays/mean-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.mean");
View
2  test/arrays/median-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.median");
View
2  test/arrays/merge-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.merge");
View
2  test/arrays/min-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.min");
View
2  test/arrays/nest-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.nest");
View
2  test/arrays/permute-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.permute");
View
2  test/arrays/quantile-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.quantile");
View
2  test/arrays/range-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.range");
View
2  test/arrays/sum-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.sum");
View
2  test/arrays/transpose-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.transpose");
View
2  test/arrays/values-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.values");
View
2  test/arrays/zip-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.zip");
View
0  test/env-assert.js → test/assert.js
File renamed without changes
View
2  test/color/hcl-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.hcl");
View
2  test/color/hsl-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.hsl");
View
2  test/color/lab-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.lab");
View
2  test/color/rgb-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.rgb");
View
2  test/core/functor-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.functor");
View
2  test/core/ns-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("ns");
View
2  test/core/rebind-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.rebind");
View
2  test/core/version-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.version");
View
2  test/dsv/csv-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.csv");
View
2  test/dsv/tsv-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.tsv");
View
2  test/event/dispatch-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.dispatch");
View
2  test/event/timer-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.timer");
View
2  test/format/format-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.format");
View
2  test/format/formatPrefix-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.formatPrefix");
View
2  test/format/requote-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.requote");
View
2  test/format/round-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.round");
View
2  test/geo/albers-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.albers");
View
2  test/geo/albers-usa-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.albersUsa");
View
2  test/geo/area-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.area");
View
2  test/geo/azimuthal-equal-area-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.azimuthalEqualArea");
View
2  test/geo/azimuthal-equidistant-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.azimuthalEquidistant");
View
2  test/geo/bounds-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.bounds");
View
2  test/geo/centroid-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.centroid");
View
2  test/geo/circle-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.circle");
View
2  test/geo/conic-conformal-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.conicConformal");
View
2  test/geo/conic-equal-area-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.conicEqualArea");
View
2  test/geo/conic-equidistant-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.conicEquidistant");
View
2  test/geo/equirectangular-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.equirectangular");
View
2  test/geo/gnomonic-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.gnomonic");
View
2  test/geo/graticule-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.graticule");
View
2  test/geo/greatArc-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.greatArc");
View
2  test/geo/interpolate-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.interpolate");
View
2  test/geo/mercator-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.mercator");
View
2  test/geo/orthographic-test.js
@@ -1,5 +1,5 @@
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
load = require("../load"),
projectionTestSuite = require("./projection-test-suite");
View
2  test/geo/path-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.path");
View
2  test/geo/projection-test-suite.js
@@ -1,4 +1,4 @@
-var assert = require("../env-assert"),
+var assert = require("../assert"),
d3 = require("../../"),
format = d3.format("13.8f");
View
2  test/geo/projection-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.projection");
View
2  test/geo/rotation-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.rotation");
View
2  test/geo/stereographic-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.stereographic");
View
2  test/geo/stream-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geo.stream");
View
2  test/geo/transverse-mercator-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
projectionTestSuite = require("./projection-test-suite");
var suite = vows.describe("d3.geo.transverseMercator");
View
2  test/geom/polygon-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geom.polygon");
View
2  test/geom/quadtree-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geom.quadtree");
View
2  test/geom/voronoi-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.geom.voronoi");
View
2  test/interpolate/array-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.interpolateArray");
View
2  test/interpolate/ease-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.ease");
View
2  test/interpolate/hsl-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.interpolateHsl");
View
2  test/interpolate/interpolate-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.interpolate");
View
2  test/interpolate/number-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.interpolateNumber");
View
2  test/interpolate/object-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.interpolateObject");
View
2  test/interpolate/rgb-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.interpolateRgb");
View
2  test/interpolate/round-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.interpolateRound");
View
2  test/interpolate/string-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.interpolateString");
View
2  test/layout/cluster-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.cluster");
View
2  test/layout/force-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.force");
View
2  test/layout/hierarchy-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.hierarchy");
View
2  test/layout/histogram-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.histogram");
View
2  test/layout/pack-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.pack");
View
2  test/layout/partition-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.partition");
View
2  test/layout/pie-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.pie");
View
2  test/layout/tree-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.tree");
View
2  test/layout/treemap-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.treemap");
View
2  test/layout/voronoi-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.layout.voronoi");
View
10 test/load.js
@@ -1,6 +1,7 @@
var smash = require("smash"),
- jsdom = require("jsdom"),
- xhr = require("./env-xhr");
+ jsdom = require("jsdom");
+
+require("./XMLHttpRequest");
module.exports = function() {
var files = [].slice.call(arguments).map(function(d) { return "src/" + d; }),
@@ -19,11 +20,6 @@ module.exports = function() {
return topic;
};
- topic.sandbox = function(_) {
- sandbox = _;
- return topic;
- };
-
topic.document = function(_) {
var document = jsdom.jsdom("<html><head></head><body></body></html>");
View
2  test/math/random-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.random");
View
2  test/scale/category-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.category");
View
2  test/scale/identity-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.identity");
View
2  test/scale/linear-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.linear");
View
2  test/scale/log-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.log");
View
2  test/scale/ordinal-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.ordinal");
View
2  test/scale/pow-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.pow");
View
2  test/scale/quantile-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.quantile");
View
2  test/scale/quantize-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.quantize");
View
2  test/scale/sqrt-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.sqrt");
View
2  test/scale/threshold-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.scale.threshold");
View
2  test/selection/append-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.append");
View
2  test/selection/attr-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
interpolateRgb = require("../../").interpolateRgb,
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.attr");
View
2  test/selection/call-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.call");
View
2  test/selection/classed-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.classed");
View
2  test/selection/data-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.data");
View
2  test/selection/datum-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.datum");
View
2  test/selection/each-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.each");
View
2  test/selection/empty-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.empty");
View
2  test/selection/enter-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.enter");
View
2  test/selection/filter-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
merge = require("../../").merge,
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.filter");
View
2  test/selection/html-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.html");
View
2  test/selection/insert-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.insert");
View
2  test/selection/node-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.node");
View
2  test/selection/on-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.on");
View
2  test/selection/order-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.order");
View
2  test/selection/property-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
interpolateRgb = require("../../").interpolateRgb,
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.property");
View
2  test/selection/remove-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.remove");
View
2  test/selection/select-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.select");
View
2  test/selection/selectAll-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.selectAll");
View
2  test/selection/selection-select-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.select");
View
2  test/selection/selection-selectAll-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.selectAll");
View
2  test/selection/selection-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.selection");
View
2  test/selection/sort-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.sort");
View
2  test/selection/style-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
interpolateRgb = require("../../").interpolateRgb,
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.style");
View
2  test/selection/text-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("selection.text");
View
2  test/svg/arc-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.svg.arc");
View
2  test/svg/area-radial-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.svg.area.radial");
View
2  test/svg/area-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.svg.area");
View
2  test/svg/axis-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
ordinal = require("../../").scale.ordinal,
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.svg.axis");
View
2  test/svg/brush-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
linear = require("../../").scale.linear,
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.svg.brush");
View
2  test/svg/line-radial-test.js
@@ -1,7 +1,7 @@
var vows = require("vows"),
d3 = require("../../"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.svg.line.radial");
View
2  test/svg/line-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.svg.line");
View
2  test/svg/symbol-test.js
@@ -1,6 +1,6 @@
var vows = require("vows"),
load = require("../load"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.svg.symbol");
View
2  test/time/day-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/dayOfYear-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/days-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/format-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/hour-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/hours-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/minute-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/minutes-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/month-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/months-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/scale-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/second-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/seconds-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/week-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/weeks-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert"),
+ assert = require("../assert"),
time = require("./time"),
local = time.local,
utc = time.utc;
View
2  test/time/year-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.time.year");
View
2  test/time/years-test.js
@@ -1,7 +1,7 @@
require("../env");
var vows = require("vows"),
- assert = require("../env-assert");
+ assert = require("../assert");
var suite = vows.describe("d3.time.years");
View
2  test/transition/transition-test-attr.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");
module.exports = {
topic: function() {
View
2  test/transition/transition-test-attrTween.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");
module.exports = {
topic: function() {
View
2  test/transition/transition-test-call.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");
module.exports = {
topic: function() {
View
2  test/transition/transition-test-delay.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");
module.exports = {
topic: function() {
View
2  test/transition/transition-test-duration.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");
module.exports = {
topic: function() {
View
2  test/transition/transition-test-each.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");
module.exports = {
"start": {
View
2  test/transition/transition-test-filter.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");
var datum = {};
View
2  test/transition/transition-test-id.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");
module.exports = {
topic: function() {
View
2  test/transition/transition-test-remove.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");
module.exports = {
topic: function() {
View
2  test/transition/transition-test-select.js
@@ -1,6 +1,6 @@
require("../env");
-var assert = require("../env-assert");
+var assert = require("../assert");