gskinner/EaselJS — pull request #100 by alekstorm (2012-01-18 20:49:12+00:00)
Title: Add IE<9 compatibility

Creates new EaselJS.js file to provide common utilities, including a `createCanvas()` hook that can be overridden to return any object implementing the Canvas interface (in this case, the `` element is passed through ExplorerCanvas if detected) and an `Array.indexOf()` implementation for browsers lacking it.

DOMElement CSS margins are manipulated if CSS3 transforms are not available.

In a separate commit, a conditional comment loading ExplorerCanvas on IE<9 is added to pages in the `examples/` directory. The following pages more-or-less work when tested on IE9 in IE8 emulation mode: barGraph, graphicsTest, graphicsTestTiny, HelloWorld, localToGlobal, MatrixTest, textTest.