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

Unified Diff: ui/webui/resources/js/cr/ui/touch_handler.js

Issue 1150173003: Fix some JS style nits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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/cr/ui/table/table_header.js ('k') | ui/webui/resources/js/event_tracker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr/ui/touch_handler.js
diff --git a/ui/webui/resources/js/cr/ui/touch_handler.js b/ui/webui/resources/js/cr/ui/touch_handler.js
index 315fef0188f290f8fc5eea2854bfd32ce91ec8e5..7401c9d5ef9ef2d3fa729f83e044846e012fa986 100644
--- a/ui/webui/resources/js/cr/ui/touch_handler.js
+++ b/ui/webui/resources/js/cr/ui/touch_handler.js
@@ -67,7 +67,7 @@ cr.define('cr.ui', function() {
* recent relevant touch and the second item is the touch's time stamp. Old
* touches are removed based on the max tracking time and when direction
* changes.
- * @type {!Array.<number>}
+ * @type {!Array<number>}
* @private
*/
this.recentTouchesX_ = [];
@@ -77,7 +77,7 @@ cr.define('cr.ui', function() {
* recent relevant touch and the second item is the touch's time stamp. Old
* touches are removed based on the max tracking time and when direction
* changes.
- * @type {!Array.<number>}
+ * @type {!Array<number>}
* @private
*/
this.recentTouchesY_ = [];
@@ -632,7 +632,7 @@ cr.define('cr.ui', function() {
/**
* Filters the provided recent touches array to remove all touches except
* the last if the move direction has changed.
- * @param {!Array.<number>} recentTouches An array of tuples where the first
+ * @param {!Array<number>} recentTouches An array of tuples where the first
* item is the x or y component of the recent touch and the second item
* is the touch time stamp.
* @param {number|undefined} lastMove The x or y component of the previous
@@ -651,7 +651,7 @@ cr.define('cr.ui', function() {
/**
* Filters the provided recent touches array to remove all touches older
* than the max tracking time or the 5th most recent touch.
- * @param {!Array.<number>} recentTouches An array of tuples where the first
+ * @param {!Array<number>} recentTouches An array of tuples where the first
* item is the x or y component of the recent touch and the second item
* is the touch time stamp.
* @param {number} recentTime The time of the most recent event.
« no previous file with comments | « ui/webui/resources/js/cr/ui/table/table_header.js ('k') | ui/webui/resources/js/event_tracker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698