Permalink
Commits on May 28, 2013
  1. Update license

    committed May 28, 2013
  2. Merge pull request #20 from misoproject/readme.update

    Adding some links to the readme for folks to get started
    committed May 28, 2013
Commits on May 27, 2013
  1. Release v0.1.0

    committed May 27, 2013
  2. Update project authors

    Name authors according to conventions recommended by NPM:
    https://npmjs.org/doc/json.html
    committed May 27, 2013
  3. Fix bug in example Chord diagram

    This chart was not built to be re-drawn, so a slight modification is
    necessary to enable multiple calls to `Chart#draw`.
    committed May 27, 2013
  4. Normalize `mixin` API

    Mixin declarations should be similar to te Layer and Chart APIs. Namely,
    the first argument to `Chart#mixin` should be the Chart name, the second
    should be the selection for the mixin's base, and all following
    arguments should be passed through to the mixin Chart's constructor.
    committed May 26, 2013
Commits on May 26, 2013
  1. Rename Layer's `base` property

    The Layer's `base` attribute is not accessible to consumers of the
    d3.chart API. In order to better communicate this detail (and make the
    source code more readable), prefix the attribute name with an underscore.
    
    Resolves #14.
    committed May 26, 2013
  2. Merge pull request #11 from misoproject/mixin.chart.context

    Resolves #10 - Navigating mixins from lifecycle event handlers
    committed May 26, 2013
  3. Remove unused variables

    committed May 26, 2013
  4. Move tests for Layer's `chart` context

    Because this functionality is implemented entirely within `d3.layer`,
    the associated tests do not need to excersize functionality from
    `d3.chart`.
    committed May 26, 2013
  5. Fix bug in `Layer#off` and add test coverage

    Correct naive error in list manipulation. Increase test coverage to
    include the previously-untested `Layer#off`.
    committed May 26, 2013
Commits on May 22, 2013
  1. Update examples to work with latest version

    This includes sub-optimal repitition of transition event handlers: we must
    bind the same handler to both the `enter:transition` event *and* the
    `update:transition` event. Ideally, we would bind it once to the
    `merge:transition` event, but making this selection cancels
    previously-scheduled transitions on the `enter` and `update` selections...
    
    This also highlights a problem with the current mixin API: handlers for
    lifecycle events in "mixin" charts cannot access the chart into which they
    have been mixed. In other words, layers in these mix in charts can only
    access the chart they have been defined within...
    committed with iros May 14, 2013
Commits on May 12, 2013
  1. Add regression test for 'transition' selections

    This test ensures that we never needlessly create 'transition' selections
    (since this can be disruptive to transition effects made on other
    lifestyle selections).
    committed May 12, 2013
  2. Clarify unit test stubbing methodology

    Building stubs and spies on top of D3's selections is a bit tricky, so
    some additional comments may be useful.
    committed May 12, 2013
  3. Reorganize tests

    Although this test specifically binds event handlers via the `on` method,
    it isn't particularly useful to highlight this distinction in the test
    organization. While we could test that handlers bound via the constructor
    implement the same behavior, this seems overly verbose.
    committed May 12, 2013
Commits on May 11, 2013
  1. Update Chai.js

    committed May 11, 2013
  2. Normalize code style

    committed May 11, 2013
Commits on Apr 26, 2013
  1. Optimize event management for garbage collection

    Avoid creating new arrays where possible
    committed Apr 26, 2013
  2. Enforce 80 column limit

    committed Apr 26, 2013
  3. Correct spelling mistake

    committed Apr 26, 2013
  4. Implement consistent support for chart() getter

    `this.chart()` ought to return a reference to a layer's containing chart
    when it is called from a lifecycle event handler, `dataBind`, or
    `insert`.
    committed Apr 26, 2013
  5. Remove outdated "TODO" comment

    This functionality is not actually necessary.
    committed Apr 24, 2013
Commits on Apr 16, 2013
  1. Merge pull request #6 from iros/chart-events

    Added chart events
    committed Apr 16, 2013
Commits on Apr 15, 2013
  1. Merge pull request #4 from iros/chart-layer-tests

    added chart#layer tests
    committed Apr 15, 2013
  2. Introduce Chart#layer

    Privitize Chart's collection of layers and provide an API for accessing
    it.
    committed Apr 15, 2013
  3. Begin tests for d3.layer

    committed Apr 7, 2013