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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/ResourceType.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/common/ResourceType.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js b/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js
index 0c18c4dd1c6cf8ced67a5f318971f24d165fb821..f7da7b8638a030e26497b0f8541d053b0b0eb6ca 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/ResourceType.js
@@ -40,7 +40,7 @@ WebInspector.ResourceType = function(name, title, category, isTextType)
this._title = title;
this._category = category;
this._isTextType = isTextType;
-}
+};
WebInspector.ResourceType.prototype = {
/**
@@ -145,7 +145,7 @@ WebInspector.ResourceType.prototype = {
return "text/css";
return "";
}
-}
+};
/**
* @constructor
@@ -156,7 +156,7 @@ WebInspector.ResourceCategory = function(title, shortTitle)
{
this.title = title;
this.shortTitle = shortTitle;
-}
+};
WebInspector.resourceCategories = {
XHR: new WebInspector.ResourceCategory("XHR and Fetch", "XHR"),
@@ -169,7 +169,7 @@ WebInspector.resourceCategories = {
WebSocket: new WebInspector.ResourceCategory("WebSockets", "WS"),
Manifest: new WebInspector.ResourceCategory("Manifest", "Manifest"),
Other: new WebInspector.ResourceCategory("Other", "Other")
-}
+};
/**
* Keep these in sync with WebCore::InspectorPageAgent::resourceTypeJson
@@ -192,7 +192,7 @@ WebInspector.resourceTypes = {
SourceMapScript: new WebInspector.ResourceType("sm-script", "Script", WebInspector.resourceCategories.Script, false),
SourceMapStyleSheet: new WebInspector.ResourceType("sm-stylesheet", "Stylesheet", WebInspector.resourceCategories.Stylesheet, false),
Manifest: new WebInspector.ResourceType("manifest", "Manifest", WebInspector.resourceCategories.Manifest, true),
-}
+};
/**
* @param {string} url
@@ -206,7 +206,7 @@ WebInspector.ResourceType.mimeFromURL = function(url)
}
var ext = WebInspector.ParsedURL.extractExtension(url).toLowerCase();
return WebInspector.ResourceType._mimeTypeByExtension.get(ext);
-}
+};
WebInspector.ResourceType._mimeTypeByName = new Map([
// CoffeeScript

Powered by Google App Engine
This is Rietveld 408576698