Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 22, 2011
  1. Merge branch 'fix-dispatch'

    authored
  2. dispatch.on(name) returns the current listener.

    authored
    Fixes #383. This includes a non-backwards-compatible change to d3.rebind, so as
    to make it easier to rebind multiple methods on subclasses.
  3. Fix a bug when removing a shared listener.

    authored
    Previously, each listener function had a private _on property which recorded
    whether the listener was enabled; this was set to false when the listener was
    removed. (This is necessary because of the copy-on-write semantics when the
    array of listeners is modified while events are being dispatched.) If the
    listener was registered for multiple event types ("foo" and "bar") then removing
    the listener for any type would disable it for all types.
    
    The fix is to wrap the listener in an object. This also has better encapsulation
    since the state is kept private.
Commits on Nov 19, 2011
  1. Add .npmignore.

    authored
Commits on Nov 16, 2011
  1. Merge branch 'release'

    authored
  2. Slightly smaller code.

    authored
  3. @jasondavies

    Bump epsilon.

    jasondavies authored
  4. @jasondavies

    Fix d3.transform and add browser-based tests.

    jasondavies authored
    This fixes various corner cases involving negative and zero scales, as
    well as proper support for skewX, which previously wasn't being computed
    correctly.
    
    Fixes #377.
Commits on Nov 15, 2011
  1. Fix a couple bugs with transforms.

    authored
    We need to check the matrix determinant for flipped coordinates. We also need to
    check for invalid transforms, which are now treated as the identity transform.
Commits on Nov 14, 2011
Commits on Nov 10, 2011
  1. Fixed precision for the default log tick format.

    authored
    Also add @jmarca's test case.
  2. Remove spurious rounding.

    authored
Commits on Nov 9, 2011
  1. Merge pull request #371 from jasondavies/deps

    authored
    Update JSDOM and Vows versions (Node.js v0.6.x compatibility).
  2. @jasondavies

    Update JSDOM and Vows versions.

    jasondavies authored
    This required changing assert.length to assert.lengthOf in tests, due to
    a Vows.js change to be compatible with Node.js v0.6.x.  For further
    details:
    
        vowsjs/vows#141
Commits on Nov 5, 2011
  1. Merge branch '2.5.0'

    authored
Commits on Nov 4, 2011
  1. Add d3.transform and d3.interpolateTransform.

    authored
    This is based on @jasondavies previous work on interpolating 3D matrices,
    simplified to only handle 2D transforms, and using SVG to parse transforms.
  2. Add state names.

    authored
  3. @jasondavies

    Slightly shorter regex.

    jasondavies authored
    Exactly the same speed in Chrome (probably both are optimised into the
    same form): http://jsperf.com/number-matching
  4. @jasondavies
  5. Tiny simplification.

    authored
  6. @jasondavies

    Reuse infinite extent.

    jasondavies authored
  7. @jasondavies
Something went wrong with that request. Please try again.