Browse Source

Moved source code from `/src/` to `/lib/`

css_transitions^2
jos 10 years ago
parent
commit
f0a5b12593
79 changed files with 70 additions and 70 deletions
  1. +69
    -69
      Jakefile.js
  2. +0
    -0
      lib/DOMutil.js
  3. +0
    -0
      lib/DataSet.js
  4. +0
    -0
      lib/DataView.js
  5. +0
    -0
      lib/graph3d/Graph3d.js
  6. +0
    -0
      lib/module/exports.js
  7. +0
    -0
      lib/module/header.js
  8. +0
    -0
      lib/module/imports.js
  9. +0
    -0
      lib/network/Edge.js
  10. +0
    -0
      lib/network/Groups.js
  11. +0
    -0
      lib/network/Images.js
  12. +0
    -0
      lib/network/Network.js
  13. +0
    -0
      lib/network/Node.js
  14. +0
    -0
      lib/network/Popup.js
  15. +0
    -0
      lib/network/css/network-manipulation.css
  16. +0
    -0
      lib/network/css/network-navigation.css
  17. +0
    -0
      lib/network/dotparser.js
  18. +0
    -0
      lib/network/img/acceptDeleteIcon.png
  19. +0
    -0
      lib/network/img/addNodeIcon.png
  20. +0
    -0
      lib/network/img/backIcon.png
  21. +0
    -0
      lib/network/img/connectIcon.png
  22. +0
    -0
      lib/network/img/cross.png
  23. +0
    -0
      lib/network/img/cross2.png
  24. +0
    -0
      lib/network/img/deleteIcon.png
  25. +0
    -0
      lib/network/img/downArrow.png
  26. +0
    -0
      lib/network/img/editIcon.png
  27. +0
    -0
      lib/network/img/leftArrow.png
  28. +0
    -0
      lib/network/img/minus.png
  29. +0
    -0
      lib/network/img/plus.png
  30. +0
    -0
      lib/network/img/rightArrow.png
  31. +0
    -0
      lib/network/img/upArrow.png
  32. +0
    -0
      lib/network/img/zoomExtends.png
  33. +0
    -0
      lib/network/networkMixins/ClusterMixin.js
  34. +0
    -0
      lib/network/networkMixins/HierarchicalLayoutMixin.js
  35. +0
    -0
      lib/network/networkMixins/ManipulationMixin.js
  36. +0
    -0
      lib/network/networkMixins/MixinLoader.js
  37. +0
    -0
      lib/network/networkMixins/NavigationMixin.js
  38. +0
    -0
      lib/network/networkMixins/SectorsMixin.js
  39. +0
    -0
      lib/network/networkMixins/SelectionMixin.js
  40. +0
    -0
      lib/network/networkMixins/physics/BarnesHut.js
  41. +0
    -0
      lib/network/networkMixins/physics/HierarchialRepulsion.js
  42. +0
    -0
      lib/network/networkMixins/physics/PhysicsMixin.js
  43. +0
    -0
      lib/network/networkMixins/physics/Repulsion.js
  44. +0
    -0
      lib/network/shapes.js
  45. +0
    -0
      lib/shim.js
  46. +0
    -0
      lib/timeline/DataStep.js
  47. +0
    -0
      lib/timeline/Graph2d.js
  48. +0
    -0
      lib/timeline/Range.js
  49. +0
    -0
      lib/timeline/Stack.js
  50. +0
    -0
      lib/timeline/TimeStep.js
  51. +0
    -0
      lib/timeline/Timeline.js
  52. +0
    -0
      lib/timeline/component/Component.js
  53. +0
    -0
      lib/timeline/component/CurrentTime.js
  54. +0
    -0
      lib/timeline/component/CustomTime.js
  55. +0
    -0
      lib/timeline/component/DataAxis.js
  56. +0
    -0
      lib/timeline/component/GraphGroup.js
  57. +0
    -0
      lib/timeline/component/Group.js
  58. +0
    -0
      lib/timeline/component/ItemSet.js
  59. +0
    -0
      lib/timeline/component/Legend.js
  60. +0
    -0
      lib/timeline/component/LineGraph.js
  61. +0
    -0
      lib/timeline/component/TimeAxis.js
  62. +0
    -0
      lib/timeline/component/css/animation.css
  63. +0
    -0
      lib/timeline/component/css/currenttime.css
  64. +0
    -0
      lib/timeline/component/css/customtime.css
  65. +0
    -0
      lib/timeline/component/css/dataaxis.css
  66. +0
    -0
      lib/timeline/component/css/item.css
  67. +0
    -0
      lib/timeline/component/css/itemset.css
  68. +0
    -0
      lib/timeline/component/css/labelset.css
  69. +0
    -0
      lib/timeline/component/css/panel.css
  70. +0
    -0
      lib/timeline/component/css/pathStyles.css
  71. +0
    -0
      lib/timeline/component/css/timeaxis.css
  72. +0
    -0
      lib/timeline/component/css/timeline.css
  73. +0
    -0
      lib/timeline/component/item/Item.js
  74. +0
    -0
      lib/timeline/component/item/ItemBox.js
  75. +0
    -0
      lib/timeline/component/item/ItemPoint.js
  76. +0
    -0
      lib/timeline/component/item/ItemRange.js
  77. +0
    -0
      lib/timeline/img/delete.png
  78. +0
    -0
      lib/util.js
  79. +1
    -1
      test/dotparser.js

+ 69
- 69
Jakefile.js View File

@ -36,21 +36,21 @@ task('build', {async: true}, function () {
// concatenate and stringify the css files // concatenate and stringify the css files
concat({ concat({
src: [ src: [
'./src/timeline/component/css/timeline.css',
'./src/timeline/component/css/panel.css',
'./src/timeline/component/css/labelset.css',
'./src/timeline/component/css/itemset.css',
'./src/timeline/component/css/item.css',
'./src/timeline/component/css/timeaxis.css',
'./src/timeline/component/css/currenttime.css',
'./src/timeline/component/css/customtime.css',
'./src/timeline/component/css/animation.css',
'./src/timeline/component/css/dataaxis.css',
'./src/timeline/component/css/pathStyles.css',
'./src/network/css/network-manipulation.css',
'./src/network/css/network-navigation.css'
'./lib/timeline/component/css/timeline.css',
'./lib/timeline/component/css/panel.css',
'./lib/timeline/component/css/labelset.css',
'./lib/timeline/component/css/itemset.css',
'./lib/timeline/component/css/item.css',
'./lib/timeline/component/css/timeaxis.css',
'./lib/timeline/component/css/currenttime.css',
'./lib/timeline/component/css/customtime.css',
'./lib/timeline/component/css/animation.css',
'./lib/timeline/component/css/dataaxis.css',
'./lib/timeline/component/css/pathStyles.css',
'./lib/network/css/network-manipulation.css',
'./lib/network/css/network-navigation.css'
], ],
dest: VIS_CSS, dest: VIS_CSS,
separator: '\n' separator: '\n'
@ -61,66 +61,66 @@ task('build', {async: true}, function () {
concat({ concat({
dest: VIS_TMP, dest: VIS_TMP,
src: [ src: [
'./src/module/imports.js',
'./src/shim.js',
'./src/util.js',
'./src/DOMutil.js',
'./src/DataSet.js',
'./src/DataView.js',
'./src/timeline/component/GraphGroup.js',
'./src/timeline/component/Legend.js',
'./src/timeline/component/DataAxis.js',
'./src/timeline/component/LineGraph.js',
'./src/timeline/DataStep.js',
'./src/timeline/Stack.js',
'./src/timeline/TimeStep.js',
'./src/timeline/Range.js',
'./src/timeline/component/Component.js',
'./src/timeline/component/TimeAxis.js',
'./src/timeline/component/CurrentTime.js',
'./src/timeline/component/CustomTime.js',
'./src/timeline/component/ItemSet.js',
'./src/timeline/component/item/*.js',
'./src/timeline/component/Group.js',
'./src/timeline/Timeline.js',
'./src/timeline/Graph2d.js',
'./src/network/dotparser.js',
'./src/network/shapes.js',
'./src/network/Node.js',
'./src/network/Edge.js',
'./src/network/Popup.js',
'./src/network/Groups.js',
'./src/network/Images.js',
'./src/network/networkMixins/physics/PhysicsMixin.js',
'./src/network/networkMixins/physics/HierarchialRepulsion.js',
'./src/network/networkMixins/physics/BarnesHut.js',
'./src/network/networkMixins/physics/Repulsion.js',
'./src/network/networkMixins/HierarchicalLayoutMixin.js',
'./src/network/networkMixins/ManipulationMixin.js',
'./src/network/networkMixins/SectorsMixin.js',
'./src/network/networkMixins/ClusterMixin.js',
'./src/network/networkMixins/SelectionMixin.js',
'./src/network/networkMixins/NavigationMixin.js',
'./src/network/networkMixins/MixinLoader.js',
'./src/network/Network.js',
'./src/graph3d/Graph3d.js',
'./src/module/exports.js'
'./lib/module/imports.js',
'./lib/shim.js',
'./lib/util.js',
'./lib/DOMutil.js',
'./lib/DataSet.js',
'./lib/DataView.js',
'./lib/timeline/component/GraphGroup.js',
'./lib/timeline/component/Legend.js',
'./lib/timeline/component/DataAxis.js',
'./lib/timeline/component/LineGraph.js',
'./lib/timeline/DataStep.js',
'./lib/timeline/Stack.js',
'./lib/timeline/TimeStep.js',
'./lib/timeline/Range.js',
'./lib/timeline/component/Component.js',
'./lib/timeline/component/TimeAxis.js',
'./lib/timeline/component/CurrentTime.js',
'./lib/timeline/component/CustomTime.js',
'./lib/timeline/component/ItemSet.js',
'./lib/timeline/component/item/*.js',
'./lib/timeline/component/Group.js',
'./lib/timeline/Timeline.js',
'./lib/timeline/Graph2d.js',
'./lib/network/dotparser.js',
'./lib/network/shapes.js',
'./lib/network/Node.js',
'./lib/network/Edge.js',
'./lib/network/Popup.js',
'./lib/network/Groups.js',
'./lib/network/Images.js',
'./lib/network/networkMixins/physics/PhysicsMixin.js',
'./lib/network/networkMixins/physics/HierarchialRepulsion.js',
'./lib/network/networkMixins/physics/BarnesHut.js',
'./lib/network/networkMixins/physics/Repulsion.js',
'./lib/network/networkMixins/HierarchicalLayoutMixin.js',
'./lib/network/networkMixins/ManipulationMixin.js',
'./lib/network/networkMixins/SectorsMixin.js',
'./lib/network/networkMixins/ClusterMixin.js',
'./lib/network/networkMixins/SelectionMixin.js',
'./lib/network/networkMixins/NavigationMixin.js',
'./lib/network/networkMixins/MixinLoader.js',
'./lib/network/Network.js',
'./lib/graph3d/Graph3d.js',
'./lib/module/exports.js'
], ],
separator: '\n' separator: '\n'
}); });
// copy images // copy images
wrench.copyDirSyncRecursive('./src/network/img', DIST + '/img/network', {
wrench.copyDirSyncRecursive('./lib/network/img', DIST + '/img/network', {
forceDelete: true forceDelete: true
}); });
wrench.copyDirSyncRecursive('./src/timeline/img', DIST + '/img/timeline', {
wrench.copyDirSyncRecursive('./lib/timeline/img', DIST + '/img/timeline', {
forceDelete: true forceDelete: true
}); });
@ -136,7 +136,7 @@ task('build', {async: true}, function () {
} }
console.log("browserify",Date.now() - timeStart); timeStart = Date.now(); console.log("browserify",Date.now() - timeStart); timeStart = Date.now();
// add header and footer // add header and footer
var lib = read('./src/module/header.js') + code;
var lib = read('./lib/module/header.js') + code;
// write bundled file // write bundled file
write(VIS, lib); write(VIS, lib);
@ -161,7 +161,7 @@ task('minify', {async: true}, function () {
minify({ minify({
src: VIS, src: VIS,
dest: VIS_MIN, dest: VIS_MIN,
header: read('./src/module/header.js')
header: read('./lib/module/header.js')
}); });
// update version number and stuff in the javascript files // update version number and stuff in the javascript files

src/DOMutil.js → lib/DOMutil.js View File


src/DataSet.js → lib/DataSet.js View File


src/DataView.js → lib/DataView.js View File


src/graph3d/Graph3d.js → lib/graph3d/Graph3d.js View File


src/module/exports.js → lib/module/exports.js View File


src/module/header.js → lib/module/header.js View File


src/module/imports.js → lib/module/imports.js View File


src/network/Edge.js → lib/network/Edge.js View File


src/network/Groups.js → lib/network/Groups.js View File


src/network/Images.js → lib/network/Images.js View File


src/network/Network.js → lib/network/Network.js View File


src/network/Node.js → lib/network/Node.js View File


src/network/Popup.js → lib/network/Popup.js View File


src/network/css/network-manipulation.css → lib/network/css/network-manipulation.css View File


src/network/css/network-navigation.css → lib/network/css/network-navigation.css View File


src/network/dotparser.js → lib/network/dotparser.js View File


src/network/img/acceptDeleteIcon.png → lib/network/img/acceptDeleteIcon.png View File


src/network/img/addNodeIcon.png → lib/network/img/addNodeIcon.png View File


src/network/img/backIcon.png → lib/network/img/backIcon.png View File


src/network/img/connectIcon.png → lib/network/img/connectIcon.png View File


src/network/img/cross.png → lib/network/img/cross.png View File


src/network/img/cross2.png → lib/network/img/cross2.png View File


src/network/img/deleteIcon.png → lib/network/img/deleteIcon.png View File


src/network/img/downArrow.png → lib/network/img/downArrow.png View File


src/network/img/editIcon.png → lib/network/img/editIcon.png View File


src/network/img/leftArrow.png → lib/network/img/leftArrow.png View File


src/network/img/minus.png → lib/network/img/minus.png View File


src/network/img/plus.png → lib/network/img/plus.png View File


src/network/img/rightArrow.png → lib/network/img/rightArrow.png View File


src/network/img/upArrow.png → lib/network/img/upArrow.png View File


src/network/img/zoomExtends.png → lib/network/img/zoomExtends.png View File


src/network/networkMixins/ClusterMixin.js → lib/network/networkMixins/ClusterMixin.js View File


src/network/networkMixins/HierarchicalLayoutMixin.js → lib/network/networkMixins/HierarchicalLayoutMixin.js View File


src/network/networkMixins/ManipulationMixin.js → lib/network/networkMixins/ManipulationMixin.js View File


src/network/networkMixins/MixinLoader.js → lib/network/networkMixins/MixinLoader.js View File


src/network/networkMixins/NavigationMixin.js → lib/network/networkMixins/NavigationMixin.js View File


src/network/networkMixins/SectorsMixin.js → lib/network/networkMixins/SectorsMixin.js View File


src/network/networkMixins/SelectionMixin.js → lib/network/networkMixins/SelectionMixin.js View File


src/network/networkMixins/physics/BarnesHut.js → lib/network/networkMixins/physics/BarnesHut.js View File


src/network/networkMixins/physics/HierarchialRepulsion.js → lib/network/networkMixins/physics/HierarchialRepulsion.js View File


src/network/networkMixins/physics/PhysicsMixin.js → lib/network/networkMixins/physics/PhysicsMixin.js View File


src/network/networkMixins/physics/Repulsion.js → lib/network/networkMixins/physics/Repulsion.js View File


src/network/shapes.js → lib/network/shapes.js View File


src/shim.js → lib/shim.js View File


src/timeline/DataStep.js → lib/timeline/DataStep.js View File


src/timeline/Graph2d.js → lib/timeline/Graph2d.js View File


src/timeline/Range.js → lib/timeline/Range.js View File


src/timeline/Stack.js → lib/timeline/Stack.js View File


src/timeline/TimeStep.js → lib/timeline/TimeStep.js View File


src/timeline/Timeline.js → lib/timeline/Timeline.js View File


src/timeline/component/Component.js → lib/timeline/component/Component.js View File


src/timeline/component/CurrentTime.js → lib/timeline/component/CurrentTime.js View File


src/timeline/component/CustomTime.js → lib/timeline/component/CustomTime.js View File


src/timeline/component/DataAxis.js → lib/timeline/component/DataAxis.js View File


src/timeline/component/GraphGroup.js → lib/timeline/component/GraphGroup.js View File


src/timeline/component/Group.js → lib/timeline/component/Group.js View File


src/timeline/component/ItemSet.js → lib/timeline/component/ItemSet.js View File


src/timeline/component/Legend.js → lib/timeline/component/Legend.js View File


src/timeline/component/LineGraph.js → lib/timeline/component/LineGraph.js View File


src/timeline/component/TimeAxis.js → lib/timeline/component/TimeAxis.js View File


src/timeline/component/css/animation.css → lib/timeline/component/css/animation.css View File


src/timeline/component/css/currenttime.css → lib/timeline/component/css/currenttime.css View File


src/timeline/component/css/customtime.css → lib/timeline/component/css/customtime.css View File


src/timeline/component/css/dataaxis.css → lib/timeline/component/css/dataaxis.css View File


src/timeline/component/css/item.css → lib/timeline/component/css/item.css View File


src/timeline/component/css/itemset.css → lib/timeline/component/css/itemset.css View File


src/timeline/component/css/labelset.css → lib/timeline/component/css/labelset.css View File


src/timeline/component/css/panel.css → lib/timeline/component/css/panel.css View File


src/timeline/component/css/pathStyles.css → lib/timeline/component/css/pathStyles.css View File


src/timeline/component/css/timeaxis.css → lib/timeline/component/css/timeaxis.css View File


src/timeline/component/css/timeline.css → lib/timeline/component/css/timeline.css View File


src/timeline/component/item/Item.js → lib/timeline/component/item/Item.js View File


src/timeline/component/item/ItemBox.js → lib/timeline/component/item/ItemBox.js View File


src/timeline/component/item/ItemPoint.js → lib/timeline/component/item/ItemPoint.js View File


src/timeline/component/item/ItemRange.js → lib/timeline/component/item/ItemRange.js View File


src/timeline/img/delete.png → lib/timeline/img/delete.png View File


src/util.js → lib/util.js View File


+ 1
- 1
test/dotparser.js View File

@ -1,6 +1,6 @@
var assert = require('assert'), var assert = require('assert'),
fs = require('fs'), fs = require('fs'),
dot = require('../src/network/dotparser.js');
dot = require('../lib/network/dotparser.js');
fs.readFile('test/dot.txt', function (err, data) { fs.readFile('test/dot.txt', function (err, data) {
data = String(data); data = String(data);

Loading…
Cancel
Save