mozilla/commonplace — pull request #34 by ngokevin (2014-05-15 21:45:16+00:00)
Title: move common js modules into separate directory (bug 949547)

- media/js/lib/ and media/js/views/ stay where they are.
- move as much Commonplace js files into ```commonplace``` directory as possible
- keep l10n.js and views.js in the same place since current projects expect them there (l10n.js is not bundled with include.js)
- a small script is written at the end of require.js that lists each commonplace module and adds the correct mapping when require.config is called.
- when updating, commonplace files found in the root js folder will be nuked, and commonplace will copy in its js files into the ```commonplace``` directory