| 'use strict'; | |
| // designed to give info to browser users, who are disturbed | |
| // when they see 404s in the console | |
| function explain404(str) { | |
| if (process.browser && 'console' in global && 'info' in console) { | |
| console.info('The above 404 is totally normal. ' + str); | |
| } | |
| } | |
| module.exports = explain404; |