addyosmani / timing.js

Navigation Timing API measurement helpers
1.5k stars 114 forks source link

when i used timing.printTable() ,don't get answer like example #14

Closed YellowPure closed 8 years ago

YellowPure commented 9 years ago

I changed some code : <if (timing.hasOwnProperty(k)) > to <if (k in timing)>

then i can use it like <timing.printTable(window.performace.timing)>

is that ture?

amk221 commented 9 years ago

I'm also experiencing this. performance.timing.hasOwnProperty('...') // always false

dd1994 commented 9 years ago

@amk221 like this https://github.com/addyosmani/timing.js/issues/20 ?

amk221 commented 9 years ago

Yep