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

Unified Diff: chrome/renderer/resources/offline.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox Created 5 years, 10 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: chrome/renderer/resources/offline.js
diff --git a/chrome/renderer/resources/offline.js b/chrome/renderer/resources/offline.js
index 4575a9c849a5720b41eb3698d466cd4891cb1160..fbf46d98d03abeffbbc3989a3f30ae83926db53e 100644
--- a/chrome/renderer/resources/offline.js
+++ b/chrome/renderer/resources/offline.js
@@ -141,7 +141,7 @@ Runner.classes = {
/**
* Image source urls.
- * @enum {array.<object>}
+ * @enum {array<object>}
*/
Runner.imageSources = {
LDPI: [
@@ -969,7 +969,7 @@ GameOverPanel.prototype = {
* @param {!Trex} tRex T-rex object.
* @param {HTMLCanvasContext} opt_canvasCtx Optional canvas context for drawing
* collision boxes.
- * @return {Array.<CollisionBox>}
+ * @return {Array<CollisionBox>}
*/
function checkForCollision(obstacle, tRex, opt_canvasCtx) {
var obstacleBoxXPos = Runner.defaultDimensions.WIDTH + obstacle.xPos;
@@ -1344,7 +1344,7 @@ Trex.config = {
/**
* Used in collision detection.
- * @type {Array.<CollisionBox>}
+ * @type {Array<CollisionBox>}
*/
Trex.collisionBoxes = [
new CollisionBox(1, -1, 30, 26),
@@ -1641,7 +1641,7 @@ DistanceMeter.dimensions = {
/**
* Y positioning of the digits in the sprite sheet.
* X position is always 0.
- * @type {array.<number>}
+ * @type {array<number>}
*/
DistanceMeter.yPos = [0, 13, 27, 40, 53, 67, 80, 93, 107, 120];
@@ -2070,7 +2070,7 @@ HorizonLine.prototype = {
/**
* Horizon background class.
* @param {HTMLCanvasElement} canvas
- * @param {Array.<HTMLImageElement>} images
+ * @param {Array<HTMLImageElement>} images
* @param {object} dimensions Canvas dimensions.
* @param {number} gapCoefficient
* @constructor
« no previous file with comments | « chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js ('k') | chrome/test/base/js2gtest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698