Small but important edits:
- Added snippet of code to double-check API connection is active before returning a ‘true’ boolean value.
- Fixed a typo for evaluating whether an error code has been returned from the LMS
Also added some code from the Firebug folks that allows Firebug’s “console” functions to be used without generating errors in IE or Opera (not sure about Safari). This code isn’t necessary unless you’re using Firebug or Firebug Lite, so it has been ‘commented out’ by default. The code was not added to the compressed versions of the script, so they remain svelte as ever.