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

Side by Side Diff: chrome/browser/resources/file_manager/js/main_scripts.js

Issue 23536047: Files.app: Move the error handler to the top of combined script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The include directives are put into Javascript-style comments to prevent 5 // The include directives are put into Javascript-style comments to prevent
6 // parsing errors in non-flattened mode. The flattener still sees them. 6 // parsing errors in non-flattened mode. The flattener still sees them.
7 // Note that this makes the flattener to comment out the first line of the 7 // Note that this makes the flattener to comment out the first line of the
8 // included file but that's all right since any javascript file should start 8 // included file but that's all right since any javascript file should start
9 // with a copyright comment anyway. 9 // with a copyright comment anyway.
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 //<include src="../../../../../ui/webui/resources/js/cr/ui/command.js"/> 59 //<include src="../../../../../ui/webui/resources/js/cr/ui/command.js"/>
60 //<include src="../../../../../ui/webui/resources/js/cr/ui/position_util.js"/> 60 //<include src="../../../../../ui/webui/resources/js/cr/ui/position_util.js"/>
61 //<include src="../../../../../ui/webui/resources/js/cr/ui/menu_item.js"/> 61 //<include src="../../../../../ui/webui/resources/js/cr/ui/menu_item.js"/>
62 //<include src="../../../../../ui/webui/resources/js/cr/ui/menu.js"/> 62 //<include src="../../../../../ui/webui/resources/js/cr/ui/menu.js"/>
63 //<include src="../../../../../ui/webui/resources/js/cr/ui/menu_button.js"/> 63 //<include src="../../../../../ui/webui/resources/js/cr/ui/menu_button.js"/>
64 //<include src="../../../../../ui/webui/resources/js/cr/ui/context_menu_handler. js"/> 64 //<include src="../../../../../ui/webui/resources/js/cr/ui/context_menu_handler. js"/>
65 65
66 (function() { 66 (function() {
67 // 'strict mode' is invoked for this scope. 67 // 'strict mode' is invoked for this scope.
68 68
69 // // This script must be loaded before all other Files.app's scripts.
70 //<include src="error_counter.js"/>
71 //
69 //<include src="combobutton.js"/> 72 //<include src="combobutton.js"/>
70 //<include src="commandbutton.js"/> 73 //<include src="commandbutton.js"/>
71 //<include src="ui/file_manager_dialog_base.js"/> 74 //<include src="ui/file_manager_dialog_base.js"/>
72 // 75 //
73 //<include src="app_installer.js"/> 76 //<include src="app_installer.js"/>
74 //<include src="async_util.js"/> 77 //<include src="async_util.js"/>
75 //<include src="path_util.js"/> 78 //<include src="path_util.js"/>
76 //<include src="util.js"/> 79 //<include src="util.js"/>
77 //<include src="action_choice_util.js"/> 80 //<include src="action_choice_util.js"/>
78 //<include src="breadcrumbs_controller.js"/> 81 //<include src="breadcrumbs_controller.js"/>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // Global fileManager reference useful for poking at from the console. 121 // Global fileManager reference useful for poking at from the console.
119 window.fileManager = fileManager; 122 window.fileManager = fileManager;
120 123
121 // Exports 124 // Exports
122 window.util = util; 125 window.util = util;
123 window.FileOperationManagerWrapper = FileOperationManagerWrapper; 126 window.FileOperationManagerWrapper = FileOperationManagerWrapper;
124 127
125 window.unload = unload; 128 window.unload = unload;
126 129
127 })(); 130 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | chrome/browser/resources/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698