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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/settings/EditFileSystemView.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 this._excludedFoldersList = new WebInspector.ListWidget(this); 64 this._excludedFoldersList = new WebInspector.ListWidget(this);
65 this._excludedFoldersList.element.classList.add("file-system-list"); 65 this._excludedFoldersList.element.classList.add("file-system-list");
66 this._excludedFoldersList.registerRequiredCSS("settings/editFileSystemView.c ss"); 66 this._excludedFoldersList.registerRequiredCSS("settings/editFileSystemView.c ss");
67 var excludedFoldersPlaceholder = createElementWithClass("div", "file-system- list-empty"); 67 var excludedFoldersPlaceholder = createElementWithClass("div", "file-system- list-empty");
68 excludedFoldersPlaceholder.textContent = WebInspector.UIString("No excluded folders"); 68 excludedFoldersPlaceholder.textContent = WebInspector.UIString("No excluded folders");
69 this._excludedFoldersList.setEmptyPlaceholder(excludedFoldersPlaceholder); 69 this._excludedFoldersList.setEmptyPlaceholder(excludedFoldersPlaceholder);
70 this._excludedFoldersList.show(this.contentElement); 70 this._excludedFoldersList.show(this.contentElement);
71 71
72 this.contentElement.tabIndex = 0; 72 this.contentElement.tabIndex = 0;
73 this._update(); 73 this._update();
74 } 74 };
75 75
76 WebInspector.EditFileSystemView.prototype = { 76 WebInspector.EditFileSystemView.prototype = {
77 dispose: function() 77 dispose: function()
78 { 78 {
79 WebInspector.EventTarget.removeEventListeners(this._eventListeners); 79 WebInspector.EventTarget.removeEventListeners(this._eventListeners);
80 }, 80 },
81 81
82 _update: function() 82 _update: function()
83 { 83 {
84 if (this._muteUpdate) 84 if (this._muteUpdate)
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 * @return {string} 315 * @return {string}
316 */ 316 */
317 _normalizePrefix: function(prefix) 317 _normalizePrefix: function(prefix)
318 { 318 {
319 if (!prefix) 319 if (!prefix)
320 return ""; 320 return "";
321 return prefix + (prefix[prefix.length - 1] === "/" ? "" : "/"); 321 return prefix + (prefix[prefix.length - 1] === "/" ? "" : "/");
322 }, 322 },
323 323
324 __proto__: WebInspector.VBox.prototype 324 __proto__: WebInspector.VBox.prototype
325 } 325 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698