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

Side by Side Diff: ui/file_manager/gallery/js/gallery.js

Issue 676633002: Remove file-level 'use strict' from file_manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « ui/file_manager/gallery/js/error_banner.js ('k') | ui/file_manager/gallery/js/gallery_item.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 'use strict';
6
7 /** 5 /**
8 * Called from the main frame when unloading. 6 * Called from the main frame when unloading.
9 * @param {boolean=} opt_exiting True if the app is exiting. 7 * @param {boolean=} opt_exiting True if the app is exiting.
10 */ 8 */
11 function unload(opt_exiting) { Gallery.instance.onUnload(opt_exiting); } 9 function unload(opt_exiting) { Gallery.instance.onUnload(opt_exiting); }
12 10
13 /** 11 /**
14 * Overrided metadata worker's path. 12 * Overrided metadata worker's path.
15 * @type {string} 13 * @type {string}
16 * @const 14 * @const
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 }; 1038 };
1041 1039
1042 /** 1040 /**
1043 * Loads entries. 1041 * Loads entries.
1044 * @param {!Array.<Entry>} entries Array of entries. 1042 * @param {!Array.<Entry>} entries Array of entries.
1045 * @param {!Array.<Entry>} selectedEntries Array of selected entries. 1043 * @param {!Array.<Entry>} selectedEntries Array of selected entries.
1046 */ 1044 */
1047 window.loadEntries = function(entries, selectedEntries) { 1045 window.loadEntries = function(entries, selectedEntries) {
1048 gallery.load(entries, selectedEntries); 1046 gallery.load(entries, selectedEntries);
1049 }; 1047 };
OLDNEW
« no previous file with comments | « ui/file_manager/gallery/js/error_banner.js ('k') | ui/file_manager/gallery/js/gallery_item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698