2011-08-18 20:54:50 +04:00
|
|
|
# See the README for installation instructions.
|
|
|
|
|
2011-09-25 02:47:06 +04:00
|
|
|
NODE_PATH ?= ./node_modules
|
2012-11-02 23:50:20 +04:00
|
|
|
JS_UGLIFY = $(NODE_PATH)/uglify-js2/bin/uglifyjs2
|
2011-09-25 02:47:06 +04:00
|
|
|
JS_TESTER = $(NODE_PATH)/vows/bin/vows
|
2012-08-07 23:19:18 +04:00
|
|
|
LOCALE ?= en_US
|
2010-09-28 22:26:55 +04:00
|
|
|
|
2010-11-05 08:27:21 +03:00
|
|
|
all: \
|
2012-10-06 05:46:05 +04:00
|
|
|
d3.js \
|
|
|
|
d3.min.js \
|
2012-09-14 23:38:35 +04:00
|
|
|
component.json \
|
2011-10-07 23:19:30 +04:00
|
|
|
package.json
|
2010-09-28 22:26:55 +04:00
|
|
|
|
2011-08-24 00:09:39 +04:00
|
|
|
# Modify this rule to build your own custom release.
|
2010-09-28 22:26:55 +04:00
|
|
|
|
2012-10-06 05:46:05 +04:00
|
|
|
.INTERMEDIATE d3.js: \
|
2011-01-11 03:02:43 +03:00
|
|
|
src/start.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
d3.core.js \
|
|
|
|
d3.scale.js \
|
2011-01-05 22:35:39 +03:00
|
|
|
d3.svg.js \
|
2011-08-23 23:47:46 +04:00
|
|
|
d3.behavior.js \
|
2012-02-19 01:14:52 +04:00
|
|
|
d3.layout.js \
|
2012-06-28 23:57:36 +04:00
|
|
|
d3.dsv.js \
|
2012-02-19 01:14:52 +04:00
|
|
|
d3.geo.js \
|
|
|
|
d3.geom.js \
|
|
|
|
d3.time.js \
|
2011-01-05 22:35:39 +03:00
|
|
|
src/end.js
|
2010-10-31 02:30:10 +04:00
|
|
|
|
|
|
|
d3.core.js: \
|
2012-08-13 22:55:54 +04:00
|
|
|
src/core/format-$(LOCALE).js \
|
2011-08-29 06:35:53 +04:00
|
|
|
src/compat/date.js \
|
|
|
|
src/compat/style.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
src/core/core.js \
|
2012-02-21 09:26:27 +04:00
|
|
|
src/core/class.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
src/core/array.js \
|
2012-02-20 23:23:36 +04:00
|
|
|
src/core/map.js \
|
2012-03-17 04:16:58 +04:00
|
|
|
src/core/identity.js \
|
2012-03-20 01:45:28 +04:00
|
|
|
src/core/true.js \
|
2010-11-28 01:13:02 +03:00
|
|
|
src/core/functor.js \
|
2011-01-28 23:09:20 +03:00
|
|
|
src/core/rebind.js \
|
2010-11-29 00:15:07 +03:00
|
|
|
src/core/ascending.js \
|
|
|
|
src/core/descending.js \
|
2011-10-08 00:57:59 +04:00
|
|
|
src/core/mean.js \
|
2011-10-11 04:49:53 +04:00
|
|
|
src/core/median.js \
|
2011-01-17 23:27:29 +03:00
|
|
|
src/core/min.js \
|
|
|
|
src/core/max.js \
|
2011-11-03 03:19:37 +04:00
|
|
|
src/core/extent.js \
|
2011-11-02 00:30:58 +04:00
|
|
|
src/core/random.js \
|
2011-10-11 04:49:53 +04:00
|
|
|
src/core/number.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 \
|
2012-12-08 00:44:21 +04:00
|
|
|
src/core/shuffle.js \
|
2011-11-24 00:44:04 +04:00
|
|
|
src/core/transpose.js \
|
2011-05-27 12:36:36 +04:00
|
|
|
src/core/zip.js \
|
2011-05-22 04:26:29 +04:00
|
|
|
src/core/bisect.js \
|
2011-01-09 02:18:38 +03:00
|
|
|
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 \
|
2010-11-27 21:35:11 +03:00
|
|
|
src/core/merge.js \
|
2010-12-01 00:40:05 +03:00
|
|
|
src/core/collapse.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
src/core/range.js \
|
2010-12-01 00:40:05 +03:00
|
|
|
src/core/requote.js \
|
2011-05-21 01:20:17 +04:00
|
|
|
src/core/round.js \
|
2010-12-10 02:04:24 +03:00
|
|
|
src/core/xhr.js \
|
2010-11-05 08:27:21 +03:00
|
|
|
src/core/text.js \
|
2010-11-03 01:27:45 +03:00
|
|
|
src/core/json.js \
|
2010-12-10 02:04:24 +03:00
|
|
|
src/core/html.js \
|
|
|
|
src/core/xml.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
src/core/ns.js \
|
|
|
|
src/core/dispatch.js \
|
|
|
|
src/core/format.js \
|
2011-10-12 03:46:47 +04:00
|
|
|
src/core/formatPrefix.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
src/core/ease.js \
|
|
|
|
src/core/event.js \
|
2012-07-31 16:38:41 +04:00
|
|
|
src/core/transform.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
src/core/interpolate.js \
|
2011-05-08 10:20:02 +04:00
|
|
|
src/core/uninterpolate.js \
|
2012-09-29 02:17:54 +04:00
|
|
|
src/core/color.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
src/core/rgb.js \
|
|
|
|
src/core/hsl.js \
|
2012-08-09 08:22:21 +04:00
|
|
|
src/core/hcl.js \
|
|
|
|
src/core/lab.js \
|
|
|
|
src/core/xyz.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
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 \
|
2012-02-21 22:31:15 +04:00
|
|
|
src/core/selection-datum.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-filter.js \
|
2011-12-09 05:14:08 +04:00
|
|
|
src/core/selection-order.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-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 \
|
2011-08-27 00:17:27 +04:00
|
|
|
src/core/selection-root.js \
|
2011-10-20 04:57:53 +04:00
|
|
|
src/core/selection-enter.js \
|
|
|
|
src/core/selection-enter-select.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
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 \
|
2012-07-25 13:02:49 +04:00
|
|
|
src/core/transition-filter.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-attr.js \
|
|
|
|
src/core/transition-style.js \
|
|
|
|
src/core/transition-text.js \
|
|
|
|
src/core/transition-remove.js \
|
2012-10-11 23:32:44 +04:00
|
|
|
src/core/transition-ease.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-delay.js \
|
|
|
|
src/core/transition-duration.js \
|
|
|
|
src/core/transition-each.js \
|
2011-08-25 04:46:10 +04:00
|
|
|
src/core/transition-transition.js \
|
Transition reselection.
It is now possible to reselect elements with scheduled transitions and redefine
associated tweens; this enables "post-selection" to customize the behavior of
reusable components undergoing transitions, such as an axis. This commit also
makes it much easier to sequence transitions.
Previously, a transition's tweens were stored privately by the transition and
could only be accessed through the transition. This made it impossible to modify
transitions created by components: the transition is not accessible externally,
and cannot be reselected from the document. Consider the following snippet:
g.select(".x.axis")
.call(xAxis)
.selectAll("text")
.attr("dy", null);
If `g` is a selection, then this code alters the appearance of the axis as
expected. However, if `g` is a transition, then transition.selectAll creates a
new concurrent transition, and now multiple tweens compete to set the "dy"
attribute. Oy!
Under the new design, an element's scheduled tweens are stored semi-privately on
the node (in the existing node.__transition__). Transition parameters can thus
be reselected and modified by transitions that share the same id. If you now
reselect a transitioning element, you modify the transition rather creating a
competing transition; this should be less surprising and allow greater control.
As a side-effect of this change, it is no longer possible to schedule concurrent
transitions on the same element, even with the same id: only one transition may
be active on a given element at any time. (Note that you can still schedule
multiple future transitions on the same element, and concurrent transitions on
different elements.) For example, you could previously schedule overlapping
transitions with different easing functions, delays or durations, provided you
were careful to avoid conflict. This seems like a relatively obscure use-case
compared to modifying a transition, so I believe this is a reasonable change.
This commit also changes transition.transition, such that the returned
transition starts at the end of the originating transition, rather than
overlapping. This makes it much easier to schedule sequenced transitions without
the complexity of transition.each("end") and d3.select(this).
Also, transitions are now simply arrays of nodes, consistent with selections!
2012-10-05 23:00:16 +04:00
|
|
|
src/core/transition-tween.js \
|
2011-08-01 22:16:38 +04:00
|
|
|
src/core/timer.js \
|
2012-02-20 00:10:47 +04:00
|
|
|
src/core/mouse.js \
|
|
|
|
src/core/touches.js \
|
2011-08-01 22:16:38 +04:00
|
|
|
src/core/noop.js
|
2010-10-31 02:30:10 +04:00
|
|
|
|
|
|
|
d3.scale.js: \
|
|
|
|
src/scale/scale.js \
|
2011-06-11 23:17:47 +04:00
|
|
|
src/scale/nice.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
src/scale/linear.js \
|
2011-05-08 10:20:02 +04:00
|
|
|
src/scale/bilinear.js \
|
|
|
|
src/scale/polylinear.js \
|
2010-10-31 02:30:10 +04:00
|
|
|
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 \
|
2011-01-25 22:31:54 +03:00
|
|
|
src/scale/quantile.js \
|
2012-02-20 08:52:44 +04:00
|
|
|
src/scale/quantize.js \
|
2012-08-09 07:33:23 +04:00
|
|
|
src/scale/threshold.js \
|
2012-02-20 08:52:44 +04:00
|
|
|
src/scale/identity.js
|
2010-10-31 02:30:10 +04:00
|
|
|
|
|
|
|
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 \
|
2010-11-05 10:11:34 +03:00
|
|
|
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 \
|
2011-04-14 10:13:06 +04:00
|
|
|
src/svg/diagonal.js \
|
2011-06-23 01:33:34 +04:00
|
|
|
src/svg/diagonal-radial.js \
|
2011-08-23 23:02:12 +04:00
|
|
|
src/svg/symbol.js \
|
2011-11-01 03:59:17 +04:00
|
|
|
src/svg/axis.js \
|
|
|
|
src/svg/brush.js
|
2010-10-31 02:30:10 +04:00
|
|
|
|
2011-02-12 00:00:41 +03:00
|
|
|
d3.behavior.js: \
|
|
|
|
src/behavior/behavior.js \
|
2011-08-18 23:21:47 +04:00
|
|
|
src/behavior/drag.js \
|
2011-08-23 23:47:46 +04:00
|
|
|
src/behavior/zoom.js
|
2011-02-12 00:00:41 +03:00
|
|
|
|
2010-11-29 00:15:07 +03:00
|
|
|
d3.layout.js: \
|
2011-01-11 03:02:43 +03:00
|
|
|
src/layout/layout.js \
|
2011-06-17 19:59:34 +04:00
|
|
|
src/layout/bundle.js \
|
2011-01-11 03:02:43 +03:00
|
|
|
src/layout/chord.js \
|
2011-03-04 02:43:57 +03:00
|
|
|
src/layout/force.js \
|
2011-03-12 21:27:05 +03:00
|
|
|
src/layout/partition.js \
|
2011-02-25 01:13:05 +03:00
|
|
|
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 \
|
2011-03-12 21:27:05 +03:00
|
|
|
src/layout/hierarchy.js \
|
2011-04-11 12:54:33 +04:00
|
|
|
src/layout/pack.js \
|
2011-04-11 13:50:34 +04:00
|
|
|
src/layout/cluster.js \
|
2011-04-10 13:46:13 +04:00
|
|
|
src/layout/tree.js \
|
2012-02-19 01:14:52 +04:00
|
|
|
src/layout/treemap.js
|
2010-11-29 00:15:07 +03:00
|
|
|
|
2010-11-03 01:27:45 +03:00
|
|
|
d3.geo.js: \
|
2010-11-05 10:25:24 +03:00
|
|
|
src/geo/geo.js \
|
2012-12-12 21:09:21 +04:00
|
|
|
src/geo/stream.js \
|
2012-12-12 22:17:52 +04:00
|
|
|
src/geo/stream-buffer.js \
|
|
|
|
src/geo/stream-context.js \
|
2012-12-13 01:33:59 +04:00
|
|
|
src/geo/stream-radians.js \
|
|
|
|
src/geo/stream-rotate.js \
|
|
|
|
src/geo/stream-transform.js \
|
2012-12-11 02:49:20 +04:00
|
|
|
src/geo/spherical.js \
|
|
|
|
src/geo/cartesian.js \
|
2012-12-12 00:40:58 +04:00
|
|
|
src/geo/type.js \
|
2012-12-11 04:23:27 +04:00
|
|
|
src/geo/clip.js \
|
|
|
|
src/geo/cut.js \
|
2012-12-12 13:25:22 +04:00
|
|
|
src/geo/resample.js \
|
2012-09-24 03:49:11 +04:00
|
|
|
src/geo/albers-usa.js \
|
2010-11-05 10:25:24 +03:00
|
|
|
src/geo/albers.js \
|
2012-09-24 03:49:11 +04:00
|
|
|
src/geo/azimuthal-equal-area.js \
|
|
|
|
src/geo/azimuthal-equidistant.js \
|
2011-02-12 06:42:52 +03:00
|
|
|
src/geo/bounds.js \
|
2012-12-06 21:15:47 +04:00
|
|
|
src/geo/centroid.js \
|
2011-09-27 19:58:52 +04:00
|
|
|
src/geo/circle.js \
|
2012-09-24 03:49:11 +04:00
|
|
|
src/geo/compose.js \
|
|
|
|
src/geo/equirectangular.js \
|
|
|
|
src/geo/gnomonic.js \
|
|
|
|
src/geo/graticule.js \
|
2012-12-11 00:04:58 +04:00
|
|
|
src/geo/interpolate.js \
|
2011-09-27 11:34:22 +04:00
|
|
|
src/geo/greatArc.js \
|
2012-09-24 03:49:11 +04:00
|
|
|
src/geo/mercator.js \
|
|
|
|
src/geo/orthographic.js \
|
|
|
|
src/geo/path.js \
|
2012-12-13 04:17:02 +04:00
|
|
|
src/geo/path-area.js \
|
|
|
|
src/geo/path-centroid.js \
|
2012-12-11 04:23:27 +04:00
|
|
|
src/geo/area.js \
|
2012-12-07 07:50:36 +04:00
|
|
|
src/geo/centroid.js \
|
2012-09-24 03:49:11 +04:00
|
|
|
src/geo/projection.js \
|
|
|
|
src/geo/rotation.js \
|
|
|
|
src/geo/stereographic.js \
|
2012-10-02 08:50:18 +04:00
|
|
|
src/geo/azimuthal.js
|
2010-11-03 01:27:45 +03:00
|
|
|
|
2012-06-28 23:57:36 +04:00
|
|
|
d3.dsv.js: \
|
|
|
|
src/dsv/dsv.js \
|
|
|
|
src/dsv/csv.js \
|
|
|
|
src/dsv/tsv.js
|
2010-11-05 08:27:21 +03:00
|
|
|
|
2010-11-06 02:23:53 +03:00
|
|
|
d3.time.js: \
|
|
|
|
src/time/time.js \
|
2012-08-07 23:19:18 +04:00
|
|
|
src/time/format-$(LOCALE).js \
|
2011-01-05 22:35:39 +03:00
|
|
|
src/time/format.js \
|
2011-06-15 11:16:46 +04:00
|
|
|
src/time/format-utc.js \
|
|
|
|
src/time/format-iso.js \
|
2012-02-19 08:36:06 +04:00
|
|
|
src/time/interval.js \
|
2011-07-19 04:56:30 +04:00
|
|
|
src/time/second.js \
|
|
|
|
src/time/minute.js \
|
|
|
|
src/time/hour.js \
|
|
|
|
src/time/day.js \
|
|
|
|
src/time/week.js \
|
|
|
|
src/time/month.js \
|
|
|
|
src/time/year.js \
|
2011-07-20 04:08:40 +04:00
|
|
|
src/time/scale.js \
|
2012-02-19 01:14:52 +04:00
|
|
|
src/time/scale-utc.js
|
2010-11-06 02:23:53 +03:00
|
|
|
|
2010-11-08 00:49:59 +03:00
|
|
|
d3.geom.js: \
|
|
|
|
src/geom/geom.js \
|
2010-11-23 03:21:46 +03:00
|
|
|
src/geom/hull.js \
|
2010-11-08 08:09:59 +03:00
|
|
|
src/geom/polygon.js \
|
|
|
|
src/geom/voronoi.js \
|
2011-01-05 22:35:39 +03:00
|
|
|
src/geom/delaunay.js \
|
2012-02-19 01:14:52 +04:00
|
|
|
src/geom/quadtree.js
|
2010-11-08 00:49:59 +03:00
|
|
|
|
2011-08-16 03:28:48 +04:00
|
|
|
test: all
|
2011-08-18 20:54:50 +04:00
|
|
|
@$(JS_TESTER)
|
2011-03-05 02:25:09 +03:00
|
|
|
|
2012-11-21 19:22:57 +04:00
|
|
|
benchmark: all
|
|
|
|
@node test/geo/benchmark.js
|
|
|
|
|
2011-01-05 22:35:39 +03:00
|
|
|
%.min.js: %.js Makefile
|
2010-11-05 08:27:21 +03:00
|
|
|
@rm -f $@
|
2012-11-02 23:50:20 +04:00
|
|
|
$(JS_UGLIFY) $< -c -m -o $@
|
2010-09-28 22:26:55 +04:00
|
|
|
|
2012-10-06 18:11:07 +04:00
|
|
|
d3%js: Makefile
|
2010-11-05 08:27:21 +03:00
|
|
|
@rm -f $@
|
2012-11-02 23:50:20 +04:00
|
|
|
@cat $(filter %.js,$^) > $@.tmp
|
|
|
|
$(JS_UGLIFY) $@.tmp -b indent-level=2 -o $@
|
|
|
|
@rm $@.tmp
|
2010-11-05 08:27:21 +03:00
|
|
|
@chmod a-w $@
|
2010-09-28 22:26:55 +04:00
|
|
|
|
2012-09-14 23:38:35 +04:00
|
|
|
component.json: src/component.js
|
|
|
|
@rm -f $@
|
|
|
|
node src/component.js > $@
|
|
|
|
@chmod a-w $@
|
|
|
|
|
2012-04-26 10:01:47 +04:00
|
|
|
package.json: src/package.js
|
2012-02-18 23:48:11 +04:00
|
|
|
@rm -f $@
|
2011-08-26 03:36:40 +04:00
|
|
|
node src/package.js > $@
|
2012-02-18 23:48:11 +04:00
|
|
|
@chmod a-w $@
|
2011-08-23 14:07:23 +04:00
|
|
|
|
2012-08-13 22:55:54 +04:00
|
|
|
src/core/format-$(LOCALE).js: src/locale.js src/core/format-locale.js
|
|
|
|
LC_NUMERIC=$(LOCALE) locale -ck LC_NUMERIC | node src/locale.js src/core/format-locale.js > $@
|
2012-08-12 21:34:05 +04:00
|
|
|
|
2012-08-13 22:55:54 +04:00
|
|
|
src/time/format-$(LOCALE).js: src/locale.js src/time/format-locale.js
|
|
|
|
LC_TIME=$(LOCALE) locale -ck LC_TIME | node src/locale.js src/time/format-locale.js > $@
|
|
|
|
|
|
|
|
.INTERMEDIATE: \
|
|
|
|
src/core/format-$(LOCALE).js \
|
|
|
|
src/time/format-$(LOCALE).js
|
2012-08-13 01:17:50 +04:00
|
|
|
|
2010-09-28 22:26:55 +04:00
|
|
|
clean:
|
2012-09-14 23:48:53 +04:00
|
|
|
rm -f d3*.js package.json component.json
|