iros/npmjsvis — pull request #5 by tbranyen (2014-12-01 19:08:16+00:00)
Title: Changes to how modules are loaded and configured

I've made a few changes here that I believe are for the better when it
comes to loading AMD modules.

- Updated Bower to resolve to latest D3, which is AMD compatible.
- Removed unnecessary shim configuration.
- Converted to relative loading opposed to from baseURL.
- This results in significantly cleaner looking require calls and
localizes to mobile/web.
- Changed the loading to toggle which router is executed synchronously,
instead of asynchronously.
- Since Almond is used and the build always contains both bundles
anyways, this saves on a lot of indentation and makes the code
easier to read.
- This also eliminates the need for multiple configurations.