Good way to guard against Esri js api CDN being down?

Discussion created by KG22 on Oct 29, 2012
Latest reply on Oct 31, 2012 by odoe
Anyone know of a good way to defensively code against Esri's host being down for the js api (like today)?
I would rather have my site fail gracefully but don't really know how to handle that.
right now it just hangs and i get firebug errors eventually about dojo is not defined.