shawnbot/sparky — pull request #7 by bcomnes (2014-12-07 20:31:29+00:00)
Title: Shimmed sparky.js for use with Browserify/NPM

I went ahead and did a simple shim of this library (and its included Raphael dependency) so that it can be included on NPM if you are interested in that, as well making it requirable via browserify.

Here is an example:

```js
function init() {
sparky.presets.set("big", {
...etc
})
}
```

Next steps would be to start using https://www.npmjs.org/package/raphael instead of including a copy in the repo and exporting sparky rather than shimming a global variable. I can help out with this if you are interested.