liabru/matter-js — pull request #16 by jmfd (2014-05-06 00:04:30+00:00)
Title: Use own Common.indexOf method for IE 6-8 compatibility

IE 6-8 has no indexOf method on Arrays. Instead this introduces the method on Common and will use a native implementation if it exists and a javascript one if not.

(note: running matter-js on older versions of IE will still require a custom renderer, as canvas/webgl is not supported)