d3/Makefile

239 строки
4.8 KiB
Makefile
Исходник Обычный вид История

# See the README for installation instructions.
JS_COMPILER = ./node_modules/uglify-js/bin/uglifyjs
JS_TESTER = ./node_modules/vows/bin/vows
2010-09-28 22:26:55 +04:00
all: \
d3.js \
d3.min.js \
2011-04-07 20:54:03 +04:00
d3.chart.js \
d3.chart.min.js \
d3.layout.js \
d3.layout.min.js \
d3.csv.js \
2010-11-06 02:23:53 +03:00
d3.csv.min.js \
d3.geo.js \
d3.geo.min.js \
d3.geom.js \
d3.geom.min.js \
2010-11-06 02:23:53 +03:00
d3.time.js \
d3.time.min.js
2010-09-28 22:26:55 +04:00
.INTERMEDIATE d3.js: \
src/start.js \
d3.core.js \
d3.scale.js \
d3.svg.js \
d3.behavior.js \
src/end.js
d3.core.js: \
src/core/core.js \
src/core/date.js \
src/core/object.js \
src/core/array.js \
src/core/functor.js \
src/core/rebind.js \
src/core/ascending.js \
src/core/descending.js \
2011-01-17 23:27:29 +03:00
src/core/min.js \
src/core/max.js \
2011-06-15 20:44:58 +04:00
src/core/sum.js \
2011-07-10 02:15:14 +04:00
src/core/quantile.js \
src/core/zip.js \
2011-05-22 04:26:29 +04:00
src/core/bisect.js \
src/core/first.js \
src/core/last.js \
src/core/nest.js \
src/core/keys.js \
src/core/values.js \
src/core/entries.js \
2011-05-12 21:25:05 +04:00
src/core/permute.js \
src/core/merge.js \
src/core/split.js \
src/core/collapse.js \
src/core/range.js \
src/core/requote.js \
2011-05-21 01:20:17 +04:00
src/core/round.js \
src/core/xhr.js \
src/core/text.js \
src/core/json.js \
src/core/html.js \
src/core/xml.js \
src/core/ns.js \
src/core/dispatch.js \
src/core/format.js \
src/core/ease.js \
src/core/event.js \
src/core/interpolate.js \
src/core/uninterpolate.js \
src/core/rgb.js \
src/core/hsl.js \
Prototype injection! This changes the core implementation of selections and transitions to use prototype injection rather than direct extension. This offers better performance by eliminating per-instance overhead from closures and assignment. On browsers that don't support prototype injection, we fall back to direct extension. This commit isn't just about performance, though; the code ends up being a lot cleaner and more separable if we force methods to rely solely on `this`, rather than capturing surrounding variables with closures. Most importantly, transitions are now "transparent", like selections. Rather than opaque objects, transitions are now arrays of nodes, similar to selections. The nodes are wrapped in an object that stores the delay and duration, which means you can now inspect the computed delay and duration. (This was the original motivation for this commit, and will allow chart components to be call'd on transitions as well as selections.) Transitions now support the `each` operator with one argument, which has the same behavior as on selections. The `each` operator now passes a third argument containing the group index (`j`). Transitions now also support a `tween` operator, which is a generic mechanism for doing things during a transition; use this in place of a "tick" event. This commit also fixes a few bugs. The enter selection now supports the empty operator; we can add other operators in the future more easily, if we so choose. Transition's attr operator now supports namespaced attributes. Selection's property operator no longer parses property namespaces.
2011-08-21 03:27:25 +04:00
src/core/select.js \
src/core/selectAll.js \
src/core/selection.js \
Prototype injection! This changes the core implementation of selections and transitions to use prototype injection rather than direct extension. This offers better performance by eliminating per-instance overhead from closures and assignment. On browsers that don't support prototype injection, we fall back to direct extension. This commit isn't just about performance, though; the code ends up being a lot cleaner and more separable if we force methods to rely solely on `this`, rather than capturing surrounding variables with closures. Most importantly, transitions are now "transparent", like selections. Rather than opaque objects, transitions are now arrays of nodes, similar to selections. The nodes are wrapped in an object that stores the delay and duration, which means you can now inspect the computed delay and duration. (This was the original motivation for this commit, and will allow chart components to be call'd on transitions as well as selections.) Transitions now support the `each` operator with one argument, which has the same behavior as on selections. The `each` operator now passes a third argument containing the group index (`j`). Transitions now also support a `tween` operator, which is a generic mechanism for doing things during a transition; use this in place of a "tick" event. This commit also fixes a few bugs. The enter selection now supports the empty operator; we can add other operators in the future more easily, if we so choose. Transition's attr operator now supports namespaced attributes. Selection's property operator no longer parses property namespaces.
2011-08-21 03:27:25 +04:00
src/core/selection-select.js \
src/core/selection-selectAll.js \
src/core/selection-attr.js \
src/core/selection-classed.js \
src/core/selection-style.js \
src/core/selection-property.js \
src/core/selection-text.js \
src/core/selection-html.js \
src/core/selection-append.js \
src/core/selection-insert.js \
src/core/selection-remove.js \
src/core/selection-data.js \
src/core/selection-enter.js \
src/core/selection-enter-select.js \
src/core/selection-filter.js \
src/core/selection-map.js \
src/core/selection-sort.js \
src/core/selection-on.js \
src/core/selection-each.js \
src/core/selection-call.js \
src/core/selection-empty.js \
src/core/selection-node.js \
src/core/selection-transition.js \
src/core/transition.js \
Prototype injection! This changes the core implementation of selections and transitions to use prototype injection rather than direct extension. This offers better performance by eliminating per-instance overhead from closures and assignment. On browsers that don't support prototype injection, we fall back to direct extension. This commit isn't just about performance, though; the code ends up being a lot cleaner and more separable if we force methods to rely solely on `this`, rather than capturing surrounding variables with closures. Most importantly, transitions are now "transparent", like selections. Rather than opaque objects, transitions are now arrays of nodes, similar to selections. The nodes are wrapped in an object that stores the delay and duration, which means you can now inspect the computed delay and duration. (This was the original motivation for this commit, and will allow chart components to be call'd on transitions as well as selections.) Transitions now support the `each` operator with one argument, which has the same behavior as on selections. The `each` operator now passes a third argument containing the group index (`j`). Transitions now also support a `tween` operator, which is a generic mechanism for doing things during a transition; use this in place of a "tick" event. This commit also fixes a few bugs. The enter selection now supports the empty operator; we can add other operators in the future more easily, if we so choose. Transition's attr operator now supports namespaced attributes. Selection's property operator no longer parses property namespaces.
2011-08-21 03:27:25 +04:00
src/core/transition-select.js \
src/core/transition-selectAll.js \
src/core/transition-attr.js \
src/core/transition-style.js \
src/core/transition-text.js \
src/core/transition-remove.js \
src/core/transition-delay.js \
src/core/transition-duration.js \
src/core/transition-each.js \
src/core/timer.js \
src/core/noop.js
Prototype injection! This changes the core implementation of selections and transitions to use prototype injection rather than direct extension. This offers better performance by eliminating per-instance overhead from closures and assignment. On browsers that don't support prototype injection, we fall back to direct extension. This commit isn't just about performance, though; the code ends up being a lot cleaner and more separable if we force methods to rely solely on `this`, rather than capturing surrounding variables with closures. Most importantly, transitions are now "transparent", like selections. Rather than opaque objects, transitions are now arrays of nodes, similar to selections. The nodes are wrapped in an object that stores the delay and duration, which means you can now inspect the computed delay and duration. (This was the original motivation for this commit, and will allow chart components to be call'd on transitions as well as selections.) Transitions now support the `each` operator with one argument, which has the same behavior as on selections. The `each` operator now passes a third argument containing the group index (`j`). Transitions now also support a `tween` operator, which is a generic mechanism for doing things during a transition; use this in place of a "tick" event. This commit also fixes a few bugs. The enter selection now supports the empty operator; we can add other operators in the future more easily, if we so choose. Transition's attr operator now supports namespaced attributes. Selection's property operator no longer parses property namespaces.
2011-08-21 03:27:25 +04:00
d3.scale.js: \
src/scale/scale.js \
src/scale/nice.js \
src/scale/linear.js \
src/scale/bilinear.js \
src/scale/polylinear.js \
src/scale/log.js \
src/scale/pow.js \
src/scale/sqrt.js \
src/scale/ordinal.js \
2011-01-03 21:30:36 +03:00
src/scale/category.js \
src/scale/quantile.js \
src/scale/quantize.js
d3.svg.js: \
src/svg/svg.js \
src/svg/arc.js \
src/svg/line.js \
2011-06-23 00:17:18 +04:00
src/svg/line-radial.js \
src/svg/area.js \
2011-06-24 07:49:33 +04:00
src/svg/area-radial.js \
2010-11-27 12:07:00 +03:00
src/svg/chord.js \
src/svg/diagonal.js \
2011-06-23 01:33:34 +04:00
src/svg/diagonal-radial.js \
src/svg/mouse.js \
src/svg/touches.js \
src/svg/symbol.js \
src/svg/axis.js
d3.behavior.js: \
src/behavior/behavior.js \
src/behavior/drag.js \
src/behavior/zoom.js
2011-04-07 20:54:03 +04:00
d3.chart.js: \
src/start.js \
src/chart/chart.js \
2011-04-14 01:31:53 +04:00
src/chart/box.js \
2011-04-07 20:54:03 +04:00
src/chart/bullet.js \
src/chart/horizon.js \
2011-04-24 13:18:03 +04:00
src/chart/qq.js \
2011-04-07 20:54:03 +04:00
src/end.js
d3.layout.js: \
src/start.js \
src/layout/layout.js \
src/layout/bundle.js \
src/layout/chord.js \
2011-03-04 02:43:57 +03:00
src/layout/force.js \
src/layout/partition.js \
src/layout/pie.js \
2011-01-17 23:27:29 +03:00
src/layout/stack.js \
2011-05-01 12:48:01 +04:00
src/layout/histogram.js \
src/layout/hierarchy.js \
src/layout/pack.js \
src/layout/cluster.js \
src/layout/tree.js \
2011-03-04 02:43:57 +03:00
src/layout/treemap.js \
src/end.js
d3.geo.js: \
src/start.js \
src/geo/geo.js \
src/geo/azimuthal.js \
src/geo/albers.js \
2010-11-10 01:45:02 +03:00
src/geo/mercator.js \
src/geo/path.js \
src/geo/bounds.js \
src/end.js
d3.csv.js: \
src/start.js \
src/csv/csv.js \
src/csv/parse.js \
src/csv/format.js \
src/end.js
2010-11-06 02:23:53 +03:00
d3.time.js: \
src/start.js \
2010-11-06 02:23:53 +03:00
src/time/time.js \
src/time/format.js \
2011-06-15 11:16:46 +04:00
src/time/format-utc.js \
src/time/format-iso.js \
2011-07-19 04:56:30 +04:00
src/time/range.js \
src/time/second.js \
src/time/seconds.js \
src/time/minute.js \
src/time/minutes.js \
src/time/hour.js \
src/time/hours.js \
src/time/day.js \
src/time/days.js \
src/time/week.js \
src/time/weeks.js \
src/time/month.js \
src/time/months.js \
src/time/year.js \
src/time/years.js \
2011-07-20 04:08:40 +04:00
src/time/scale.js \
src/time/scale-utc.js \
src/end.js
2010-11-06 02:23:53 +03:00
d3.geom.js: \
src/start.js \
src/geom/geom.js \
2010-12-07 07:27:25 +03:00
src/geom/contour.js \
2010-11-23 03:21:46 +03:00
src/geom/hull.js \
src/geom/polygon.js \
src/geom/voronoi.js \
src/geom/delaunay.js \
2011-01-18 01:55:50 +03:00
src/geom/quadtree.js \
src/end.js
test: all
@$(JS_TESTER)
2011-03-05 02:25:09 +03:00
%.min.js: %.js Makefile
@rm -f $@
$(JS_COMPILER) < $< > $@
2010-09-28 22:26:55 +04:00
d3.js d3%.js: Makefile
@rm -f $@
cat $(filter %.js,$^) > $@
@chmod a-w $@
2010-09-28 22:26:55 +04:00
clean:
rm -f d3*.js