adamschwartz / log

Console.log with style.
https://adamschwartz.co/log
MIT License
3.02k stars 140 forks source link

UA check is wrong. #2

Closed TJkrusinski closed 11 years ago

TJkrusinski commented 11 years ago

In Safari, the page thought I was in Chrome, and in Chrome the page thought I was in Safari. Firefox and Opera seem to be fine. I'm running OS X 10.8.2, Safari 6.0.2, Chrome 26.0.1410.65, and Chrome Canary 28.0.1466.0 canary.

adamschwartz commented 11 years ago

Are you referring to https://github.com/adamschwartz/log/blob/master/log.coffee#L76?

adamschwartz commented 11 years ago

Should be good now: https://github.com/adamschwartz/log/commit/671f04a22ea67271b907e4dfed3c7fbffef37f06