jrburke/requirejs — pull request #746 by gertsonderby (2013-05-22 09:55:03+00:00)
Title: Adding a config option to set an onError function

I've made a small modification, enabling the config object to carry a custom error handler, equivalent to setting `requirejs.onError` after RequireJS has been initialized. This way, when using the global configuration variable, there is no need to then, after including RequireJS, also set an error handler. It can all be done in one place.