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

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

Issue 391873003: Files.app: random code clean up. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/file_manager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/file_manager_commands.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager_commands.js b/ui/file_manager/file_manager/foreground/js/file_manager_commands.js
index 729e738b7af7fc6bc902992bda9c3d3659d353da..275fa959f311375a1b35422cb6b45686f92b3703 100644
--- a/ui/file_manager/file_manager/foreground/js/file_manager_commands.js
+++ b/ui/file_manager/file_manager/foreground/js/file_manager_commands.js
@@ -79,7 +79,7 @@ CommandUtil.getCommandEntry = function(element) {
/**
* Obtains an entry from the give navigation model item.
- * @param {NavigationModelItem} item Navigation modle item.
+ * @param {NavigationModelItem} item Navigation model item.
* @return {Entry} Related entry.
* @private
*/
@@ -731,7 +731,7 @@ CommandHandler.COMMANDS_['toggle-pinned'] = {
currentEntry, 'drive', steps.updateUI.bind(this));
},
- // Update the user interface accoding to the cache state.
+ // Update the user interface according to the cache state.
updateUI: function(drive /* not used */) {
fileManager.updateMetadataInUI_('drive', [currentEntry]);
if (!error)
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/file_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698