| Index: third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js b/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
|
| index 90438ae393a648c59d5fda924b6b4cf2409caa78..a75de2816a17947ad278bb3329c7ac0d9b46a334 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/FileSystemWorkspaceBinding.js
|
| @@ -46,7 +46,7 @@ WebInspector.FileSystemWorkspaceBinding = function(isolatedFileSystemManager, wo
|
| this._boundFileSystems = new Map();
|
| this._isolatedFileSystemManager.waitForFileSystems()
|
| .then(this._onFileSystemsLoaded.bind(this));
|
| -}
|
| +};
|
|
|
| WebInspector.FileSystemWorkspaceBinding._styleSheetExtensions = new Set(["css", "scss", "sass", "less"]);
|
| WebInspector.FileSystemWorkspaceBinding._documentExtensions = new Set(["htm", "html", "asp", "aspx", "phtml", "jsp"]);
|
| @@ -61,7 +61,7 @@ WebInspector.FileSystemWorkspaceBinding._imageExtensions = WebInspector.Isolated
|
| WebInspector.FileSystemWorkspaceBinding.projectId = function(fileSystemPath)
|
| {
|
| return fileSystemPath;
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.UISourceCode} uiSourceCode
|
| @@ -71,7 +71,7 @@ WebInspector.FileSystemWorkspaceBinding.relativePath = function(uiSourceCode)
|
| {
|
| var baseURL = /** @type {!WebInspector.FileSystemWorkspaceBinding.FileSystem}*/(uiSourceCode.project())._fileSystemBaseURL;
|
| return uiSourceCode.url().substring(baseURL.length).split("/");
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.Project} project
|
| @@ -82,7 +82,7 @@ WebInspector.FileSystemWorkspaceBinding.completeURL = function(project, relative
|
| {
|
| var fsProject = /** @type {!WebInspector.FileSystemWorkspaceBinding.FileSystem}*/(project);
|
| return fsProject._fileSystemBaseURL + relativePath;
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {string} extension
|
| @@ -99,7 +99,7 @@ WebInspector.FileSystemWorkspaceBinding._contentTypeForExtension = function(exte
|
| if (WebInspector.FileSystemWorkspaceBinding._scriptExtensions.has(extension))
|
| return WebInspector.resourceTypes.Script;
|
| return WebInspector.resourceTypes.Other;
|
| -}
|
| +};
|
|
|
| WebInspector.FileSystemWorkspaceBinding.prototype = {
|
| /**
|
| @@ -171,7 +171,7 @@ WebInspector.FileSystemWorkspaceBinding.prototype = {
|
| this._boundFileSystems.remove(fileSystem._fileSystem.path());
|
| }
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {string} projectId
|
| @@ -180,7 +180,7 @@ WebInspector.FileSystemWorkspaceBinding.prototype = {
|
| WebInspector.FileSystemWorkspaceBinding.fileSystemPath = function(projectId)
|
| {
|
| return projectId;
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -205,7 +205,7 @@ WebInspector.FileSystemWorkspaceBinding.FileSystem = function(fileSystemWorkspac
|
|
|
| workspace.addProject(this);
|
| this.populate();
|
| -}
|
| +};
|
|
|
| WebInspector.FileSystemWorkspaceBinding._metadata = Symbol("FileSystemWorkspaceBinding.Metadata");
|
|
|
| @@ -571,4 +571,4 @@ WebInspector.FileSystemWorkspaceBinding.FileSystem.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.ProjectStore.prototype
|
| -}
|
| +};
|
|
|