jpillora/xdomain — pull request #14 by alex-courtis (2013-09-20 14:19:38+00:00)
Title: really check for console, for IE stupid

Jaime

Many thanks for xdomain... it's made my life a lot easier.

Unfortunately, I've used it for a client that insists on using IE8. IE8 still lacks console, so I've had to be more explicit in the detection of the console object. It's only used when something goes wrong, but an alert is better than the stupid triangle.

Usually, I have this chunk out of h5bp as the first script, however I can't do that with this hack to the oracle app.
https://github.com/h5bp/html5-boilerplate/blob/master/js/plugins.js

Also, xdomain should go before other scripts :)

Alex