OLD | NEW |
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 Loading... |
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 Loading... |
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 })(); |
OLD | NEW |