mirror of
https://github.com/liabru/matter-js.git
synced 2025-01-12 16:08:50 -05:00
appease jshint
This commit is contained in:
parent
c8ebf8b9f4
commit
99346160aa
1 changed files with 7 additions and 4 deletions
|
@ -254,11 +254,14 @@ var Common = {};
|
|||
var style;
|
||||
|
||||
switch (type) {
|
||||
case 'warn':
|
||||
style = 'color: coral';
|
||||
|
||||
case 'warn':
|
||||
style = 'color: coral';
|
||||
break;
|
||||
case 'error':
|
||||
style = 'color: red';
|
||||
case 'error':
|
||||
style = 'color: red';
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
console.log('%c [Matter] ' + type + ': ' + message, style);
|
||||
|
|
Loading…
Reference in a new issue