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

Side by Side Diff: ui/file_manager/audio_player/js/audio_player.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, 2 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 'use strict';
6
7 /** 5 /**
8 * Overrided metadata worker's path. 6 * Overrided metadata worker's path.
9 * @type {string} 7 * @type {string}
10 * @const 8 * @const
11 */ 9 */
12 ContentProvider.WORKER_SCRIPT = '/js/metadata_worker.js'; 10 ContentProvider.WORKER_SCRIPT = '/js/metadata_worker.js';
13 11
14 /** 12 /**
15 * @param {HTMLElement} container Container element. 13 * @param {HTMLElement} container Container element.
16 * @constructor 14 * @constructor
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 this.title = (metadata.media && metadata.media.title) || 425 this.title = (metadata.media && metadata.media.title) ||
428 this.getDefaultTitle(); 426 this.getDefaultTitle();
429 this.artist = error || 427 this.artist = error ||
430 (metadata.media && metadata.media.artist) || this.getDefaultArtist(); 428 (metadata.media && metadata.media.artist) || this.getDefaultArtist();
431 }; 429 };
432 430
433 // Starts loading the audio player. 431 // Starts loading the audio player.
434 window.addEventListener('polymer-ready', function(e) { 432 window.addEventListener('polymer-ready', function(e) {
435 AudioPlayer.load(); 433 AudioPlayer.load();
436 }); 434 });
OLDNEW
« no previous file with comments | « ui/file_manager/audio_player/elements/audio_player.js ('k') | ui/file_manager/audio_player/js/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698