yahoo/express-map — pull request #18 by ericf (2013-12-12 02:45:15+00:00)
Title: Wrap `pathTo()` with UMD+YUI module registration wrapper

This adds the UMD+YUI wrapper around the `pathTo()` function so it can be served to the browser and it will self-register in JavaScript module systems.

I choose to use the `else if` pattern because this module is closely coupled with your app code, therefore it doesn't seem practical that there would be more than one module system that needs access to this code.

### Todos

- [ ] Get code review
- [ ] Answer whether this should be in its own package
- [ ] Add `HISTORY.md` entry
- [ ] Figured out how to get Istanbul ignore UMD+YUI wrapper