addyosmani/timing.js

ie8 doesn't safely fail

開放

#6 建立於 2014年9月25日

 (2 則留言) (0 個反應) (0 位負責人)JavaScript (123 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (1,504 顆星)
PR 合併指標
 (30 天內沒有已合併 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"

貢獻者指南