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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystemManager.js

Issue 2416113002: DevTools: exclude node_modules and bower_components files (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 * @return {?WebInspector.IsolatedFileSystem} 219 * @return {?WebInspector.IsolatedFileSystem}
220 */ 220 */
221 fileSystem: function(fileSystemPath) 221 fileSystem: function(fileSystemPath)
222 { 222 {
223 return this._fileSystems.get(fileSystemPath) || null; 223 return this._fileSystems.get(fileSystemPath) || null;
224 }, 224 },
225 225
226 _initExcludePatterSetting: function() 226 _initExcludePatterSetting: function()
227 { 227 {
228 var defaultCommonExcludedFolders = [ 228 var defaultCommonExcludedFolders = [
229 "/node_modules/",
230 "/bower_components/",
229 "/\\.devtools", 231 "/\\.devtools",
230 "/\\.git/", 232 "/\\.git/",
231 "/\\.sass-cache/", 233 "/\\.sass-cache/",
232 "/\\.hg/", 234 "/\\.hg/",
233 "/\\.idea/", 235 "/\\.idea/",
234 "/\\.svn/", 236 "/\\.svn/",
235 "/\\.cache/", 237 "/\\.cache/",
236 "/\\.project/" 238 "/\\.project/"
237 ]; 239 ];
238 var defaultWinExcludedFolders = [ 240 var defaultWinExcludedFolders = [
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 this._callbacks.delete(requestId); 357 this._callbacks.delete(requestId);
356 }, 358 },
357 359
358 __proto__: WebInspector.Object.prototype 360 __proto__: WebInspector.Object.prototype
359 } 361 }
360 362
361 /** 363 /**
362 * @type {!WebInspector.IsolatedFileSystemManager} 364 * @type {!WebInspector.IsolatedFileSystemManager}
363 */ 365 */
364 WebInspector.isolatedFileSystemManager; 366 WebInspector.isolatedFileSystemManager;
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698