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

Unified Diff: ui/webui/resources/js/parse_html_subset.js

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
« no previous file with comments | « ui/webui/resources/js/local_strings.js ('k') | ui/webui/resources/js/template_data_externs.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/parse_html_subset.js
diff --git a/ui/webui/resources/js/parse_html_subset.js b/ui/webui/resources/js/parse_html_subset.js
index c49d8fca89b47286c7e1927f741d5719ceb915b9..7262d0e9f9c9707654eaff189d27966967d7f515 100644
--- a/ui/webui/resources/js/parse_html_subset.js
+++ b/ui/webui/resources/js/parse_html_subset.js
@@ -37,7 +37,8 @@ var parseHtmlSubset = (function() {
*/
var allowedTags = ['A', 'B', 'STRONG'];
- function merge() {
+ /** @param {...Object} var_args Objects to merge. */
+ function merge(var_args) {
var clone = {};
for (var i = 0; i < arguments.length; ++i) {
if (typeof arguments[i] == 'object') {
« no previous file with comments | « ui/webui/resources/js/local_strings.js ('k') | ui/webui/resources/js/template_data_externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698