clean sheet
Setup boilerplate, get tests setup

Add the transform() function to d3.svg, since this is an SVG-specfic
feature. Nothing but the name has been defined.

Get tests working by requiring d3 as a global variable. This makes it
available to the d3-transform module. There may be a better way to do
this, but I'm unaware of it.

Tests passing.
Merge pull request #1 from seliopou/separate-object

Setup boilerplate, get tests setup
Remove out-of-date index.html file
Add translate() to d3.svg.transform

translate() can be called in two ways:

  * with up to two arguments; or
  * with a function that will return an array of two elements.

In the first case, the first argument is used as dx and the second is
dy. If the second argument is omitted, then the translation is applied
to x, which is consistent with the spec.

If it's called with a function it's expected to return an array of up to
two arguments, or a single number. If the function returns an array,
they're treated as though they were positional arguments. If the
function returns a single number, it's treated as dx.

Also added associated tests.

Tests pass.
Add all other transformations to d3.svg.transform

All the SVG transformation types are now supported. No checks are in
place to ensure that the user provides the correct nubmer of arguments
to the transformations. This leaves the user in the same situation that
he was in befor the existence of this library.

Regardless, this code needs more tests.

Tests Pass
Add test for function argument as method call

If a user provides function arguments to a transformation function such
as translate, that function will be invoked as method on the current
selection. Add a test for this case, simulating a seleciton with a
JavaSript literal object.

Tests pass.
Merge pull request #2 from seliopou/separate-object

implement functions for all transform types
simple update to README reflecting the new API
indent fix
don't need smash
compose multiple transformations! Woo!
test for object composition
simple example.html