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

Unified Diff: components/translate/ios/browser/resources/translate_ios.js

Issue 2449333002: [ios] Pass more --jscomp_error switches to the closure Compiler. (Closed)
Patch Set: Created 4 years, 2 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: components/translate/ios/browser/resources/translate_ios.js
diff --git a/components/translate/ios/browser/resources/translate_ios.js b/components/translate/ios/browser/resources/translate_ios.js
index 9dfda6a4cad253762a8704fedee98a436cc62f83..af823474c1c6d7e602d199b884b9a6d32fbfbe02 100644
--- a/components/translate/ios/browser/resources/translate_ios.js
+++ b/components/translate/ios/browser/resources/translate_ios.js
@@ -2,7 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-__gCrWeb['translate'] = {};
+/**
+ * @fileoverview Installs Translate management functions on the __gCrWeb object.
+ *
+ * TODO(crbug.com/659442): Enable checkTypes, checkVars errors for this file.
+ * @suppress {checkTypes, checkVars}
+ */
+
+__gCrWeb.translate = {};
+__gCrWeb['translate'] = __gCrWeb.translate;
(function() {
/**

Powered by Google App Engine
This is Rietveld 408576698