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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_table.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_table.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_table.js b/ui/file_manager/file_manager/foreground/js/file_table.js
index 086a4b8ef13e1ea335b1a7422447bbf9159dcd5e..9224176270f56ec69ac8f17c58828d3ca4006977 100644
--- a/ui/file_manager/file_manager/foreground/js/file_table.js
+++ b/ui/file_manager/file_manager/foreground/js/file_table.js
@@ -334,8 +334,8 @@ FileTable.decorate = function(self, metadataCache, volumeManager, fullPage) {
*
* @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.
*/
self.list.getHitElements = function(x, y, opt_width, opt_height) {
@@ -356,14 +356,14 @@ FileTable.decorate = function(self, metadataCache, volumeManager, fullPage) {
*/
FileTable.prototype.setDateTimeFormat = function(use12hourClock) {
this.timeFormatter_ = Intl.DateTimeFormat(
- [] /* default locale */,
- {hour: 'numeric', minute: 'numeric',
- hour12: use12hourClock});
+ [] /* default locale */,
+ {hour: 'numeric', minute: 'numeric', hour12: use12hourClock});
this.dateFormatter_ = Intl.DateTimeFormat(
- [] /* default locale */,
- {year: 'numeric', month: 'short', day: 'numeric',
- hour: 'numeric', minute: 'numeric',
- hour12: use12hourClock});
+ [] /* default locale */,
+ {
+ year: 'numeric', month: 'short', day: 'numeric',
+ hour: 'numeric', minute: 'numeric', hour12: use12hourClock
+ });
};
/**
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/file_selection.js ('k') | ui/file_manager/file_manager/foreground/js/file_tasks.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698