addyosmani/timing.js

ie8 doesn't safely fail

Open

#6 opened on 2014年9月25日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (123 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (1,504 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Want to encorporate this in our product behind a flag, however if the browser is ie8 (argh), ideally it just needs to fail silently without throwing a script error. Can we prevent the error for ie8?

Script throws an error

"'timing is null or not an object"

コントリビューターガイド