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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_grid.js

Issue 571453002: Correct indentation, JSDoc, etc... to comply with closure linter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/file_manager/file_manager/foreground/js/file_grid.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_grid.js b/ui/file_manager/file_manager/foreground/js/file_grid.js
index b373ee983051c3d76a73a281e26949ceecf15581..248b95600b0391f08b71d073de5914821a3ea57c 100644
--- a/ui/file_manager/file_manager/foreground/js/file_grid.js
+++ b/ui/file_manager/file_manager/foreground/js/file_grid.js
@@ -60,7 +60,7 @@ FileGrid.decorate = function(self, metadataCache, volumeManager) {
/**
* Updates items to reflect metadata changes.
* @param {string} type Type of metadata changed.
- * @param {Object.<string, Object>} props Map from entry URLs to metadata props.
+ * @param {Array.<Entry>} entries Entries whose metadata changed.
*/
FileGrid.prototype.updateListItemsMetadata = function(type, entries) {
var urls = util.entriesToURLs(entries);
@@ -281,8 +281,8 @@ FileGrid.prototype.getHitIndex_ = function(coordinate, step, threshold) {
*
* @param {number} x X coordinate value.
* @param {number} y Y coordinate value.
- * @param {=number} opt_width Width of the coordinate.
- * @param {=number} opt_height Height of the coordinate.
+ * @param {number=} opt_width Width of the coordinate.
+ * @param {number=} opt_height Height of the coordinate.
* @return {Array.<number>} Index list of hit elements.
*/
FileGrid.prototype.getHitElements = function(x, y, opt_width, opt_height) {

Powered by Google App Engine
This is Rietveld 408576698