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

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

Issue 443553002: Typecheck chrome://help using CompilerPass.java, everything except dependency to options (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: fixed one nit Created 6 years, 3 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: ui/webui/resources/js/event_tracker.js
diff --git a/ui/webui/resources/js/event_tracker.js b/ui/webui/resources/js/event_tracker.js
index e7bb5d350dcae367cb2fb578cfd01bdf9da58d1e..d28c5b7ff55130fb542616680ec41a5370762557 100644
--- a/ui/webui/resources/js/event_tracker.js
+++ b/ui/webui/resources/js/event_tracker.js
@@ -42,7 +42,7 @@ EventTracker.prototype = {
* Add an event listener - replacement for Node.addEventListener.
* @param {!Node} node The DOM node to add a listener to.
* @param {string} eventType The type of event to subscribe to.
- * @param {Function} listener The listener to add.
+ * @param {EventListener|Function} listener The listener to add.
* @param {boolean=} opt_capture Whether to invoke during the capture phase.
*/
add: function(node, eventType, listener, opt_capture) {

Powered by Google App Engine
This is Rietveld 408576698