Skip to content
Permalink
Browse files

More renaming of d3-x3dom to d3-x3d.

  • Loading branch information...
jamesleesaunders committed Jul 27, 2019
1 parent e895087 commit 763c87725265cb8e642c13daddd930d059623607
Showing with 487 additions and 494 deletions.
  1. +5 −5 CONTRIBUTING.md
  2. +7 −7 Makefile
  3. +54 −54 README.md
  4. +1 −1 config/WebStorm_CodeStyle_Scheme.xml
  5. +3 −3 config/rollup.config.js
  6. +71 −71 dist/{d3-x3dom.js → d3-x3d.js}
  7. +1 −0 dist/d3-x3d.min.js
  8. BIN dist/d3-x3d.zip
  9. +0 −1 dist/d3-x3dom.min.js
  10. BIN dist/d3-x3dom.zip
  11. +4 −4 examples/X3DOM/chart/AreaChartMultiSeries.html
  12. +6 −6 examples/X3DOM/chart/AreaChartMultiSeries2.html
  13. +4 −4 examples/X3DOM/chart/BarChartMultiSeries.html
  14. +4 −4 examples/X3DOM/chart/BarChartVertical.html
  15. +4 −4 examples/X3DOM/chart/BubbleChart.html
  16. +4 −4 examples/X3DOM/chart/CrosshairPlot.html
  17. +4 −4 examples/X3DOM/chart/RibbonChartMultiSeries.html
  18. +4 −4 examples/X3DOM/chart/ScatterPlot.html
  19. +4 −4 examples/X3DOM/chart/SurfacePlot.html
  20. +3 −3 examples/X3DOM/chart/VectorFieldChart.html
  21. +4 −4 examples/X3DOM/chart/VolumeSliceChart.html
  22. +5 −5 examples/X3DOM/component/Area.html
  23. +5 −5 examples/X3DOM/component/AreaMultiSeries.html
  24. +5 −6 examples/X3DOM/component/BarsMultiSeries.html
  25. +5 −6 examples/X3DOM/component/BubblesMultiSeries.html
  26. +6 −6 examples/X3DOM/component/Crosshair.html
  27. +5 −6 examples/X3DOM/component/RibbonMultiSeries.html
  28. +23 −23 examples/X3DOM/component/Showcase.html
  29. +5 −6 examples/X3DOM/component/Surface.html
  30. +4 −4 examples/X_ITE/chart/AreaChartMultiSeries.html
  31. +6 −6 examples/X_ITE/chart/AreaChartMultiSeries2.html
  32. +4 −4 examples/X_ITE/chart/BarChartMultiSeries.html
  33. +4 −4 examples/X_ITE/chart/BarChartVertical.html
  34. +4 −4 examples/X_ITE/chart/BubbleChart.html
  35. +4 −4 examples/X_ITE/chart/CrosshairPlot.html
  36. +4 −4 examples/X_ITE/chart/RibbonChartMultiSeries.html
  37. +4 −4 examples/X_ITE/chart/ScatterPlot.html
  38. +4 −4 examples/X_ITE/chart/SurfacePlot.html
  39. +3 −3 examples/X_ITE/chart/VectorFieldChart.html
  40. +4 −4 examples/X_ITE/chart/VolumeSliceChart.html
  41. +5 −5 examples/X_ITE/component/Area.html
  42. +5 −5 examples/X_ITE/component/AreaMultiSeries.html
  43. +5 −6 examples/X_ITE/component/BarsMultiSeries.html
  44. +5 −6 examples/X_ITE/component/BubblesMultiSeries.html
  45. +6 −6 examples/X_ITE/component/Crosshair.html
  46. +5 −6 examples/X_ITE/component/RibbonMultiSeries.html
  47. +23 −23 examples/X_ITE/component/Showcase.html
  48. +5 −6 examples/X_ITE/component/Surface.html
  49. +1 −1 examples/assets/Volume1.html
  50. +1 −1 examples/assets/Volume2.html
  51. +1 −1 index.js
  52. +2 −2 package-lock.json
  53. +5 −5 package.json
  54. +2 −2 src/chart/areaChartMultiSeries.js
  55. +2 −2 src/chart/barChartMultiSeries.js
  56. +2 −2 src/chart/barChartVertical.js
  57. +2 −2 src/chart/bubbleChart.js
  58. +2 −2 src/chart/crosshairPlot.js
  59. +2 −2 src/chart/ribbonChartMultiSeries.js
  60. +5 −5 src/chart/scatterPlot.js
  61. +2 −2 src/chart/surfacePlot.js
  62. +2 −2 src/chart/vectorFieldChart.js
  63. +2 −2 src/chart/volumeSliceChart.js
  64. +1 −1 src/component/area.js
  65. +1 −1 src/component/areaMultiSeries.js
  66. +1 −1 src/component/axis.js
  67. +1 −1 src/component/axisThreePlane.js
  68. +7 −7 src/component/bars.js
  69. +1 −1 src/component/barsMultiSeries.js
  70. +7 −7 src/component/bubbles.js
  71. +1 −1 src/component/bubblesMultiSeries.js
  72. +1 −1 src/component/crosshair.js
  73. +1 −1 src/component/label.js
  74. +2 −2 src/component/light.js
  75. +7 −7 src/component/ribbon.js
  76. +1 −1 src/component/ribbonMultiSeries.js
  77. +1 −1 src/component/surface.js
  78. +10 −10 src/component/vectorFields.js
  79. +2 −2 src/component/viewpoint.js
  80. +1 −1 src/component/volumeSlice.js
  81. +1 −1 src/events.js
  82. +2 −2 test/chart/barChartMultiSeriesTest.js
  83. +2 −2 test/chart/barChartVerticalTest.js
  84. +2 −2 test/chart/bubbleChartTest.js
  85. +2 −2 test/chart/ribbonChartMultiSeriesTest.js
  86. +2 −2 test/chart/scatterPlotTest.js
  87. +2 −2 test/chart/surfacePlotTest.js
  88. +2 −2 test/chart/vectorFieldChart.js
  89. +2 −2 test/component/axisTest.js
  90. +2 −2 test/component/axisThreePlaneTest.js
  91. +2 −2 test/component/barsMultiSeriesTest.js
  92. +2 −2 test/component/barsTest.js
  93. +2 −2 test/component/bubblesMultiSeriesTest.js
  94. +2 −2 test/component/bubblesTest.js
  95. +2 −2 test/component/crosshairTest.js
  96. +2 −2 test/component/ribbonMultiSeriesTest.js
  97. +2 −2 test/component/ribbonTest.js
  98. +2 −2 test/component/surfaceTest.js
  99. +2 −2 test/component/vectorFieldsTest.js
  100. +7 −7 test/component/viewpointTest.js
  101. +6 −5 test/dataTransformTest.js
  102. +6 −6 test/indexTest.js
  103. +2 −2 test/randomDataTest.js
@@ -1,18 +1,18 @@
# d3-x3dom
# d3-x3d
## Contributing Guidelines

**d3-x3dom** makes it easy to quickly produce beautiful 3D data visualisations with minimal code.
**d3-x3d** makes it easy to quickly produce beautiful 3D data visualisations with minimal code.

The `dist/d3-x3dom.js` and `dist/d3-x3dom.css` files are built from source files in the `src` directory.
The `dist/d3-x3d.js` and `dist/d3-x3d.css` files are built from source files in the `src` directory.
Do NOT edit the `dist` files directly, but rather edit the `src` files and then run `make` or `npm test` to generate the `dist` files.

## Unit Testing
Note, d3-x3dom is currently transitioning unit testing framework from the tape to mocha. Currently running with a combination of the two. All new unit tests should be written using mocha. In time all tape tests should be re-written in mocha.
Note, d3-x3d is currently transitioning unit testing framework from the tape to mocha. Currently running with a combination of the two. All new unit tests should be written using mocha. In time all tape tests should be re-written in mocha.

## Code Styles

To ensure code formatting is kept standard, IDE configuration files for PHPStorm and Atom can be found in the `config` directory.
If contributing to d-x3dom please ensure code formatting is maintained as per these standards.
If contributing to d3-x3d please ensure code formatting is maintained as per these standards.

* Atom Beautify Config
* Copy `config/Atom_Beautify_Confg.json` to a file called `.jsbeautifyrc` in the project root.
@@ -1,7 +1,7 @@
# d3-x3dom Makefile

COMPRESS_FILES := dist/d3-x3dom.js \
dist/d3-x3dom.min.js \
COMPRESS_FILES := dist/d3-x3d.js \
dist/d3-x3d.min.js \
README.md \
LICENSE.md

@@ -10,18 +10,18 @@ all: js css min zip docs

js:
@echo Compiling JS Files...
@rm -f dist/d3-x3dom.js
@rm -f dist/d3-x3d.js
@./node_modules/rollup/bin/rollup -c config/rollup.config.js

min:
@echo Minifying...
@rm -f dist/d3-x3dom.min.js
@./node_modules/uglify-es/bin/uglifyjs dist/d3-x3dom.js > dist/d3-x3dom.min.js
@rm -f dist/d3-x3d.min.js
@./node_modules/uglify-es/bin/uglifyjs dist/d3-x3d.js > dist/d3-x3d.min.js

zip: $(COMPRESS_FILES)
@echo Zipping...
@rm -f dist/d3-x3dom.zip
@zip -qj dist/d3-x3dom.zip $^
@rm -f dist/d3-x3d.zip
@zip -qj dist/d3-x3d.zip $^

docs:
@echo Generating Docs...
108 README.md

Large diffs are not rendered by default.

@@ -1,4 +1,4 @@
<code_scheme name="d3-x3dom">
<code_scheme name="d3-x3d">
<option name="AUTODETECT_INDENTS" value="false" />
<option name="OTHER_INDENT_OPTIONS">
<value>
@@ -3,7 +3,7 @@ import babel from "rollup-plugin-babel";
import resolve from 'rollup-plugin-node-resolve';

let banner = `/**
* d3-x3dom
* d3-x3d
*
* @author James Saunders [james@saunders-family.net]
* @copyright Copyright (C) 2019 James Saunders
@@ -14,10 +14,10 @@ let banner = `/**
export default {
input: "index.js",
output: {
file: "dist/d3-x3dom.js",
file: "dist/d3-x3d.js",
format: "umd",
extend: true,
name: "d3.x3dom",
name: "d3.x3d",
banner: banner,
strict: true,
globals: { "d3": "d3", "x3dom": "x3dom", "d3-array": "d3", "d3-shape": "d3" }

0 comments on commit 763c877

Please sign in to comment.
You can’t perform that action at this time.