Use r.js programmatically
Fix error handling for requirejs
Merge pull request #298 from FriendCode/fix/rjs_linux

Fix/rjs linux