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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/components/BreakpointsSidebarPaneBase.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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 this.registerRequiredCSS("components/breakpointsList.css"); 38 this.registerRequiredCSS("components/breakpointsList.css");
39 39
40 this.listElement = createElement("ol"); 40 this.listElement = createElement("ol");
41 this.listElement.className = "breakpoint-list"; 41 this.listElement.className = "breakpoint-list";
42 42
43 this.emptyElement = createElement("div"); 43 this.emptyElement = createElement("div");
44 this.emptyElement.className = "gray-info-message"; 44 this.emptyElement.className = "gray-info-message";
45 this.emptyElement.textContent = WebInspector.UIString("No Breakpoints"); 45 this.emptyElement.textContent = WebInspector.UIString("No Breakpoints");
46 46
47 this.element.appendChild(this.emptyElement); 47 this.element.appendChild(this.emptyElement);
48 } 48 };
49 49
50 WebInspector.BreakpointsSidebarPaneBase.prototype = { 50 WebInspector.BreakpointsSidebarPaneBase.prototype = {
51 /** 51 /**
52 * @param {!Element} element 52 * @param {!Element} element
53 * @param {?Node=} beforeNode 53 * @param {?Node=} beforeNode
54 * @protected 54 * @protected
55 */ 55 */
56 addListElement: function(element, beforeNode) 56 addListElement: function(element, beforeNode)
57 { 57 {
58 if (beforeNode) { 58 if (beforeNode) {
(...skipping 26 matching lines...) Expand all
85 reset: function() 85 reset: function()
86 { 86 {
87 this.listElement.removeChildren(); 87 this.listElement.removeChildren();
88 if (this.listElement.parentElement) { 88 if (this.listElement.parentElement) {
89 this.element.removeChild(this.listElement); 89 this.element.removeChild(this.listElement);
90 this.element.appendChild(this.emptyElement); 90 this.element.appendChild(this.emptyElement);
91 } 91 }
92 }, 92 },
93 93
94 __proto__: WebInspector.VBox.prototype 94 __proto__: WebInspector.VBox.prototype
95 } 95 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698