You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RequireJS error callback not used for CoffeeScript not found errors. #39
Right, looks like this plugin is not using the load.onerror functionality. If you want to work up a patch, you can look at the text plugin for inspiration. Specifically:
shows passing an errback function to text.get (which is called fetchText in this plugin), and then fetchText in this plugin would need to be modified to call the errback function on a failure.
Activity
jrburke commentedon Dec 6, 2012
Right, looks like this plugin is not using the load.onerror functionality. If you want to work up a patch, you can look at the text plugin for inspiration. Specifically:
https://github.com/requirejs/text/blob/master/text.js#L165
shows passing an errback function to text.get (which is called fetchText in this plugin), and then fetchText in this plugin would need to be modified to call the errback function on a failure.
guybedford commentedon Dec 7, 2012
Ok great I will get to this along with the xhr hooks, although it may be another week or so yet before I can get down to it.