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

Unified Diff: chrome/browser/resources/net_internals/hsts_view.js

Issue 8372018: Fix two warnings surfaced by closure compiler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « no previous file | chrome/browser/resources/net_internals/log_util.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/net_internals/hsts_view.js
===================================================================
--- chrome/browser/resources/net_internals/hsts_view.js (revision 106144)
+++ chrome/browser/resources/net_internals/hsts_view.js (working copy)
@@ -31,11 +31,13 @@
this.queryInput_ = $(HSTSView.QUERY_INPUT_ID);
this.queryOutputDiv_ = $(HSTSView.QUERY_OUTPUT_DIV_ID);
- form = $(HSTSView.ADD_FORM_ID);
+ var form = $(HSTSView.ADD_FORM_ID);
form.addEventListener('submit', this.onSubmitAdd_.bind(this), false);
+
form = $(HSTSView.DELETE_FORM_ID);
form.addEventListener('submit', this.onSubmitDelete_.bind(this), false);
- var form = $(HSTSView.QUERY_FORM_ID);
+
+ form = $(HSTSView.QUERY_FORM_ID);
form.addEventListener('submit', this.onSubmitQuery_.bind(this), false);
g_browser.addHSTSObserver(this);
« no previous file with comments | « no previous file | chrome/browser/resources/net_internals/log_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698