vmx/jslens — pull request #2 by substack (2012-12-02 01:24:26+00:00)
Title: export into the exports object if present

One thing I forgot on my last pull request was to export into the `exports` object if it is present instead of exporting functionality onto window as globals. The old test suite should still pass but now when you `require('lens')` you should get:

```
> require('lens')
{ CopyLens: [Function],
DefaultLens: [Function],
DelLens: [Function],
ConcatLens: [Function],
KleeneLens: [Function],
UnionLens: [Function] }
```

Just bump the version in the package.json to `0.0.1` (or whichever) and `npm publish` to put the newest version on npm.