* Prints a warning in the console if it exists. * * @param {String} message The warning message. * @returns {void}
(message)
| 425 | * @returns {void} |
| 426 | */ |
| 427 | function warning(message) { |
| 428 | /* eslint-disable no-console */ |
| 429 | if (typeof console !== 'undefined' && typeof console.error === 'function') { |
| 430 | console.error(message); |
| 431 | } |
| 432 | /* eslint-enable no-console */ |
| 433 | try { |
| 434 | // This error was thrown as a convenience so that if you enable |
| 435 | // "break on all exceptions" in your console, |
| 436 | // it would pause the execution at this line. |
| 437 | throw new Error(message); |
| 438 | /* eslint-disable no-empty */ |
| 439 | } catch (e) {} |
| 440 | /* eslint-enable no-empty */ |
| 441 | } |
| 442 | |
| 443 | /***/ }, |
| 444 | /* 4 */ |
no outgoing calls
no test coverage detected