addyosmani/timing.js

ie8 doesn't safely fail

Open

#6 opened on Sep 25, 2014

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (1,504 stars) (123 forks)batch import
enhancementhelp wanted

Description

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"

Contributor guide