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

Unified Diff: third_party/WebKit/Source/devtools/front_end/formatter_worker/HTMLFormatter.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/formatter_worker/HTMLFormatter.js
diff --git a/third_party/WebKit/Source/devtools/front_end/formatter_worker/HTMLFormatter.js b/third_party/WebKit/Source/devtools/front_end/formatter_worker/HTMLFormatter.js
index 0961cdb78916bd95e98a762b0dca3170c79807df..0ae831f6f3d52f434396e92837d7158e25245b6f 100644
--- a/third_party/WebKit/Source/devtools/front_end/formatter_worker/HTMLFormatter.js
+++ b/third_party/WebKit/Source/devtools/front_end/formatter_worker/HTMLFormatter.js
@@ -11,7 +11,7 @@ WebInspector.HTMLFormatter = function(builder)
this._builder = builder;
this._jsFormatter = new WebInspector.JavaScriptFormatter(builder);
this._cssFormatter = new WebInspector.CSSFormatter(builder);
-}
+};
WebInspector.HTMLFormatter.SupportedJavaScriptMimeTypes = new Set([
"text/javascript",
@@ -146,7 +146,7 @@ WebInspector.HTMLFormatter.prototype = {
this._builder.addToken(token.value, token.startOffset);
}
-}
+};
/**
* @constructor
@@ -164,7 +164,7 @@ WebInspector.HTMLModel = function(text)
this._tokens = [];
this._tokenIndex = 0;
this._build(text);
-}
+};
WebInspector.HTMLModel.SelfClosingTags = new Set([
"area",
@@ -213,7 +213,7 @@ WebInspector.HTMLModel.ParseState = {
Tag: "Tag",
AttributeName: "AttributeName",
AttributeValue: "AttributeValue"
-}
+};
WebInspector.HTMLModel.prototype = {
/**
@@ -418,7 +418,7 @@ WebInspector.HTMLModel.prototype = {
{
return this._document;
}
-}
+};
/**
* @constructor
@@ -433,7 +433,7 @@ WebInspector.HTMLModel.Token = function(value, type, startOffset, endOffset)
this.type = type;
this.startOffset = startOffset;
this.endOffset = endOffset;
-}
+};
/**
* @constructor
@@ -452,7 +452,7 @@ WebInspector.HTMLModel.Tag = function(name, startOffset, endOffset, attributes,
this.attributes = attributes;
this.isOpenTag = isOpenTag;
this.selfClosingTag = selfClosingTag;
-}
+};
/**
* @constructor
@@ -465,4 +465,4 @@ WebInspector.HTMLModel.Element = function(name)
this.parent = null;
this.openTag = null;
this.closeTag = null;
-}
+};

Powered by Google App Engine
This is Rietveld 408576698