RC-Paves3-build / plovr

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

Make it possible to suppress warnings from individual JS files #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using a large third-party JavaScript library that was not written for the 
Closure Compiler may generate a ton of warnings from the Compiler. It should be 
possible to filter warnings from these files so it is easier to find warnings 
for the user's code.

Original issue reported on code.google.com by bolinf...@gmail.com on 11 Jun 2010 at 7:17

GoogleCodeExporter commented 8 years ago
It would also be great to be able to suppress warnings from the closure 
library. 

I'm currently getting the following warnings, and it's annoying to have these 
popup on each page on my local dev, since I can't really (easily) control the 
closure library source code within plovr.

/closure/goog/ui/drilldownrow.js:211: WARNING - Missing return statement. 
Function expected to return (goog.ui.Component|null).
goog.ui.DrilldownRow.prototype.removeChild = function(child) {
^
/closure/goog/ui/drilldownrow.js:273: WARNING - Missing return statement. 
Function expected to return number.
goog.ui.DrilldownRow.prototype.findIndex = function() {

Original comment by mickn...@gmail.com on 13 Apr 2011 at 6:18

GoogleCodeExporter commented 8 years ago
You might be interested in this fork:

https://github.com/rgpower/plovr

I think it has what you are looking for, albeit somewhat late :)

Original comment by ri...@celtx.com on 14 May 2014 at 10:35