We put this file before everything else and that's it, Formaldehyde will automatically decide how to show errors in a wide range of browsers:
- Chrome
- Firefox
- Internet Explorer 5, 5.5, 6, 7, 8 with or whout console
- Opera
- Safari
Logs will naturally degrade until the most primitive alert but hey, Formaldehyde is for debug and development environments, not for production.
Enjoy ;)
1 comment:
Haven't come across a better way to handle server errors in JavaScript without changing application code.
Great work, thanks!
Post a Comment