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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_manager_commands.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_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 78710e259022477c72ea99f128cf82bd8c676784..8cfcb2467316d52d4e0c3f8ea4362f54c06d03bd 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
@@ -444,15 +444,14 @@ CommandHandler.COMMANDS_['new-folder'] = {
*/
CommandHandler.COMMANDS_['new-window'] = {
execute: function(event, fileManager) {
- chrome.fileManagerPrivate.getProfiles(function(profiles,
- currentId,
- displayedId) {
- fileManager.backgroundPage.launchFileManager({
- currentDirectoryURL: fileManager.getCurrentDirectoryEntry() &&
- fileManager.getCurrentDirectoryEntry().toURL(),
- displayedId: currentId !== displayedId ? displayedId : undefined
- });
- });
+ chrome.fileManagerPrivate.getProfiles(
+ function(profiles, currentId, displayedId) {
+ fileManager.backgroundPage.launchFileManager({
+ currentDirectoryURL: fileManager.getCurrentDirectoryEntry() &&
+ fileManager.getCurrentDirectoryEntry().toURL(),
+ displayedId: currentId !== displayedId ? displayedId : undefined
+ });
+ });
},
canExecute: function(event, fileManager) {
event.canExecute =
@@ -599,7 +598,7 @@ CommandHandler.COMMANDS_['volume-help'] = {
event.canExecute = !hideHelp;
event.command.setHidden(hideHelp);
fileManager.document_.getElementById('help-separator').hidden = hideHelp;
- },
+ }
};
/**

Powered by Google App Engine
This is Rietveld 408576698