1. 28 Dec, 2011 1 commit
  2. 10 Dec, 2011 1 commit
    • Jason Davies's avatar
      Update dependencies and use "devDependencies". · 5166102c
      Jason Davies authored
      Using "devDependencies" prevents "vows" etc. from being installed if D3
      is being installed as a dependency. I'm not sure whether "jsdom" counts
      as a true dependency or not as we only really use it for the tests.
      
      I've also added a "scripts": {"test": …} parameter, which specifies what
      happens when you run "npm test".
      5166102c
  3. 08 Dec, 2011 5 commits
  4. 06 Dec, 2011 1 commit
  5. 30 Nov, 2011 5 commits
  6. 23 Nov, 2011 12 commits
  7. 22 Nov, 2011 3 commits
    • Mike Bostock's avatar
      Merge branch 'fix-dispatch' · 2df8c62c
      Mike Bostock authored
      2df8c62c
    • Mike Bostock's avatar
      dispatch.on(name) returns the current listener. · 1b3a3b3c
      Mike Bostock 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.
      1b3a3b3c
    • Mike Bostock's avatar
      Fix a bug when removing a shared listener. · 75ddc283
      Mike Bostock 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.
      75ddc283
  8. 18 Nov, 2011 1 commit
  9. 16 Nov, 2011 6 commits
  10. 15 Nov, 2011 2 commits
  11. 14 Nov, 2011 2 commits
  12. 13 Nov, 2011 1 commit