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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 /** 5 /**
6 * @constructor 6 * @constructor
7 */ 7 */
8 WebInspector.RemoteObjectPreviewFormatter = function() 8 WebInspector.RemoteObjectPreviewFormatter = function()
9 { 9 {
10 } 10 };
11 11
12 WebInspector.RemoteObjectPreviewFormatter.prototype = { 12 WebInspector.RemoteObjectPreviewFormatter.prototype = {
13 /** 13 /**
14 * @param {!Element} parentElement 14 * @param {!Element} parentElement
15 * @param {!RuntimeAgent.ObjectPreview} preview 15 * @param {!RuntimeAgent.ObjectPreview} preview
16 */ 16 */
17 appendObjectPreview: function(parentElement, preview) 17 appendObjectPreview: function(parentElement, preview)
18 { 18 {
19 var description = preview.description; 19 var description = preview.description;
20 if (preview.type !== "object" || preview.subtype === "null") { 20 if (preview.type !== "object" || preview.subtype === "null") {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 } 164 }
165 165
166 if (type === "object" && !subtype) { 166 if (type === "object" && !subtype) {
167 span.textContent = this._abbreviateFullQualifiedClassName(descriptio n); 167 span.textContent = this._abbreviateFullQualifiedClassName(descriptio n);
168 return span; 168 return span;
169 } 169 }
170 170
171 span.textContent = description; 171 span.textContent = description;
172 return span; 172 return span;
173 } 173 }
174 } 174 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698