soulwire/fit.js — pull request #8 by SignpostMarv (2014-02-10 18:42:48+00:00)
Title: Making fit.js functional on IE8

HTMLElement doesn't exist in IE8, so swapped in two places for typeof
undefined check and target.nodeType == 1

IE8 uses attachEvent rather than addEventListener