RC-Paves3-build / plovr

Automatically exported from code.google.com/p/plovr
0 stars 0 forks source link

In server mode, warning may display in red instead of orange #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you have the following config:

{
  "level": "VERBOSE",
  "checks": {
    "checkTypes": "ERROR",
  }
}

and you have a type checking mistake in your JS, in server mode, the message 
displayed at the top of the page will say "WARNING" but it will appear in dark 
red as if it were an error. Given the "checkTypes": "ERROR" option, it should 
be treated as an error, so the red is appropriate, but the messaging in the 
HTML should say "ERROR" instead of "WARNING".

Original issue reported on code.google.com by bolinf...@gmail.com on 5 Jan 2011 at 6:05