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

Unified Diff: ui/file_manager/file_manager/foreground/js/directory_model.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/directory_model.js
diff --git a/ui/file_manager/file_manager/foreground/js/directory_model.js b/ui/file_manager/file_manager/foreground/js/directory_model.js
index 56039f147c970fc25e1920aff66b0c4cd38ca2a5..2b4c6b0481a693a5e205e1bb38f6a3fcb15c05a6 100644
--- a/ui/file_manager/file_manager/foreground/js/directory_model.js
+++ b/ui/file_manager/file_manager/foreground/js/directory_model.js
@@ -450,7 +450,7 @@ DirectoryModel.prototype.clearAndScan_ = function(newDirContents,
/**
* Adds/removes/updates items of file list.
- * @param {Array.<Entry>} updatedEntries Entries of updated/added files.
+ * @param {Array.<Entry>} changedEntries Entries of updated/added files.
* @param {Array.<string>} removedUrls URLs of removed files.
* @private
*/
@@ -716,7 +716,7 @@ DirectoryModel.prototype.findIndexByEntry_ = function(entry) {
*
* @param {Entry} oldEntry The old entry.
* @param {Entry} newEntry The new entry.
- * @param {function()} opt_callback Called on completion.
+ * @param {function()=} opt_callback Called on completion.
*/
DirectoryModel.prototype.onRenameEntry = function(
oldEntry, newEntry, opt_callback) {

Powered by Google App Engine
This is Rietveld 408576698