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

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

Issue 450903002: Random clean up around Chrome OS file manager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 addab3f2b0957fc1565772451db2c639327c8fa3..5323f9b4656a0722a3c3c3bff32771227609b0ec 100644
--- a/ui/file_manager/file_manager/foreground/js/directory_model.js
+++ b/ui/file_manager/file_manager/foreground/js/directory_model.js
@@ -276,7 +276,7 @@ DirectoryModel.prototype.setLeadEntry_ = function(value) {
/**
* Schedule rescan with short delay.
- * @param {boolean} refresh True to refrech metadata, or false to use cached
+ * @param {boolean} refresh True to refresh metadata, or false to use cached
* one.
*/
DirectoryModel.prototype.rescanSoon = function(refresh) {
@@ -286,7 +286,7 @@ DirectoryModel.prototype.rescanSoon = function(refresh) {
/**
* Schedule rescan with delay. Designed to handle directory change
* notification.
- * @param {boolean} refresh True to refrech metadata, or false to use cached
+ * @param {boolean} refresh True to refresh metadata, or false to use cached
* one.
*/
DirectoryModel.prototype.rescanLater = function(refresh) {
@@ -298,7 +298,7 @@ DirectoryModel.prototype.rescanLater = function(refresh) {
* nothing. File operation may cause a few notifications what should cause
* a single refresh.
* @param {number} delay Delay in ms after which the rescan will be performed.
- * @param {boolean} refresh True to refrech metadata, or false to use cached
+ * @param {boolean} refresh True to refresh metadata, or false to use cached
* one.
*/
DirectoryModel.prototype.scheduleRescan = function(delay, refresh) {
@@ -338,7 +338,7 @@ DirectoryModel.prototype.clearRescanTimeout_ = function() {
*
* This should be to scan the contents of current directory (or search).
*
- * @param {boolean} refresh True to refrech metadata, or false to use cached
+ * @param {boolean} refresh True to refresh metadata, or false to use cached
* one.
*/
DirectoryModel.prototype.rescan = function(refresh) {
@@ -449,7 +449,7 @@ DirectoryModel.prototype.clearAndScan_ = function(newDirContents,
*
* @param {DirectoryContents} dirContents DirectoryContents instance on which
* the scan will be run.
- * @param {boolean} refresh True to refrech metadata, or false to use cached
+ * @param {boolean} refresh True to refresh metadata, or false to use cached
* one.
* @param {function()} successCallback Callback on success.
* @param {function()} failureCallback Callback on failure.
@@ -780,7 +780,7 @@ DirectoryModel.prototype.changeDirectoryEntry = function(
};
/**
- * Activates the given directry.
+ * Activates the given directory.
* This method:
* - Changes the current directory, if the given directory is the current
* directory.

Powered by Google App Engine
This is Rietveld 408576698