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

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

Issue 12225135: [Cleanup] Files.app: add missing periods on comments. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment fix Created 7 years, 10 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 | Annotate | Revision Log
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 /** 5 /**
6 * Namespace for utility functions. 6 * Namespace for utility functions.
7 */ 7 */
8 var filelist = {}; 8 var filelist = {};
9 9
10 /** 10 /**
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 this.timeFormatter_.format(modTime)); 294 this.timeFormatter_.format(modTime));
295 } else { 295 } else {
296 div.textContent = 296 div.textContent =
297 this.dateFormatter_.format(filesystemProps.modificationTime); 297 this.dateFormatter_.format(filesystemProps.modificationTime);
298 } 298 }
299 }; 299 };
300 300
301 /** 301 /**
302 * Updates the file metadata in the table item. 302 * Updates the file metadata in the table item.
303 * 303 *
304 * @param {Element} item Table item, 304 * @param {Element} item Table item.
305 * @param {Entry} entry File entry, 305 * @param {Entry} entry File entry.
306 */ 306 */
307 FileTable.prototype.updateFileMetadata = function(item, entry) { 307 FileTable.prototype.updateFileMetadata = function(item, entry) {
308 var props = this.metadataCache_.getCached(entry, 'filesystem'); 308 var props = this.metadataCache_.getCached(entry, 'filesystem');
309 this.updateDate_(item.querySelector('.date'), props); 309 this.updateDate_(item.querySelector('.date'), props);
310 this.updateSize_(item.querySelector('.size'), entry, props); 310 this.updateSize_(item.querySelector('.size'), entry, props);
311 }; 311 };
312 312
313 /** 313 /**
314 * Render the Available offline column of the detail table. 314 * Render the Available offline column of the detail table.
315 * 315 *
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 break; 682 break;
683 } 683 }
684 } 684 }
685 if (url) { 685 if (url) {
686 iconDiv.style.backgroundImage = 'url(' + url + ')'; 686 iconDiv.style.backgroundImage = 'url(' + url + ')';
687 } else { 687 } else {
688 iconDiv.style.backgroundImage = null; 688 iconDiv.style.backgroundImage = null;
689 } 689 }
690 } 690 }
691 }; 691 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager_pyauto.js ('k') | chrome/browser/resources/file_manager/js/path_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698