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

Side by Side Diff: components/proximity_auth/webui/resources/log-panel.js

Issue 1150173003: Fix some JS style nits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 Polymer('log-panel', { 5 Polymer('log-panel', {
6 publish: { 6 publish: {
7 /** 7 /**
8 * List of displayed logs. 8 * List of displayed logs.
9 * @type {Array.<{{ 9 * @type {Array<{{
10 * text: string, 10 * text: string,
11 * date: string, 11 * date: string,
12 * source: string 12 * source: string
13 * }}>} 13 * }}>}
14 */ 14 */
15 logs: null, 15 logs: null,
16 }, 16 },
17 17
18 /** 18 /**
19 * @type {boolean} 19 * @type {boolean}
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 /** 66 /**
67 * @param {string} filename 67 * @param {string} filename
68 * @return {string} The filename stripped of its preceeding path. 68 * @return {string} The filename stripped of its preceeding path.
69 * @private 69 * @private
70 */ 70 */
71 stripPath_: function(filename) { 71 stripPath_: function(filename) {
72 var directories = filename.split('/'); 72 var directories = filename.split('/');
73 return directories[directories.length - 1]; 73 return directories[directories.length - 1];
74 }, 74 },
75 }); 75 });
OLDNEW
« no previous file with comments | « components/proximity_auth/webui/resources/log-buffer.js ('k') | ios/chrome/browser/find_in_page/resources/find_in_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698