Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: third_party/closure_compiler/checker.py

Issue 405743002: Typecheck some of ui/webui/resources/js/ with Closure compiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cr.isMac fix Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/closure_compiler/checker.py
diff --git a/third_party/closure_compiler/checker.py b/third_party/closure_compiler/checker.py
index b0190912da663dbf2f9a83a8adcfc103a94d8909..be7b6f719aebf033ee2a1558a20d0823708d2fbe 100644
--- a/third_party/closure_compiler/checker.py
+++ b/third_party/closure_compiler/checker.py
@@ -88,6 +88,8 @@ class Checker(object):
"--jscomp_error=unknownDefines",
"--jscomp_error=uselessCode",
"--jscomp_error=visibility",
+ # TODO(dbeam): happens when the same file is <include>d multiple times.
+ "--jscomp_off=duplicate",
]
_found_java = False
« no previous file with comments | « chrome/test/data/webui/link_controller_test.html ('k') | third_party/closure_compiler/externs/chrome_send_externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698