addyosmani/timing.js

ie8 doesn't safely fail

Open

#6 创建于 2014年9月25日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (1,504 star) (123 fork)batch import
enhancementhelp wanted

描述

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"

贡献者指南