Feedback on patch for error callbacks when loading remote scripts
Howdy:
So I took a stab at adding error callbacks for loading remote scripts -- the patch is available via
github. I'm a JS noob, so I'd appreciate if someone could take a look at the patch and give me some feedback.
There are two main things I'm worried about:
1) I think script.onerror is not a cross-browser compatible way to register the error callback -- can someone suggest what is the right way to handle this for IE?
2) I'm not really sure what parameters make sense to pass to jQuery.handleError() -- can someone sanity-check those and perhaps suggest what error message to pass?
Thanks =)
~ilya