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

Unified Diff: chrome/browser/resources/ntp4/apps_page.js

Issue 2343913002: Fix closure compile (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/apps_page.js
diff --git a/chrome/browser/resources/ntp4/apps_page.js b/chrome/browser/resources/ntp4/apps_page.js
index 80fbee21c8c0dcb401f5432b7706f87801b4492e..e1f4a0050fbdedafeeee6b6f36dc7ecc272b2529 100644
--- a/chrome/browser/resources/ntp4/apps_page.js
+++ b/chrome/browser/resources/ntp4/apps_page.js
@@ -390,11 +390,11 @@ cr.define('ntp', function() {
/**
* Invoked when an app is clicked.
- * @param {MouseEvent} e The click/auxclick event.
+ * @param {Event} e The click/auxclick event.
dpapad 2016/09/15 17:39:03 Should this be !Event
* @private
*/
onClick_: function(e) {
- if (e.button > 1) return;
+ if (/** @type {MouseEvent} */(e).button > 1) return;
var url = !this.appData_.is_webstore ? '' :
appendParam(this.appData_.url,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698