GoodBoyDigital/pixi.js — pull request #955 by maximus8891 (2014-09-08 08:58:37+00:00)
Title: Test if browser supports ES5 Object methods

PIXI doesn't support IE8, but at least we can add a short test to prevent an error on script load.
The test checks if the browser supports Object.create. If not we terminate the script. PIXI stays undefined.
The reference support table is http://kangax.github.io/compat-table/es5/

I wanted to put this test as earlier in the script as possible. It could be moved to a separate file.

This could be useful in cases when developers don't need a full support for IE8 for their pages, but at least the page loads with basic content.