IE8 fix for hasClass
Merge pull request #10 from sutamatej/master

IE8 fix for hasClass