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

Unified Diff: third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.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/FormatterWorker.js
diff --git a/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js b/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js
index 5adeace002c9e19ace0653270d21401f5aace2bd..f9e209cd8d7b496971096bb73434c472e27e6f1e 100644
--- a/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js
+++ b/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js
@@ -52,7 +52,7 @@ WebInspector.createTokenizer = function(mimeType)
}
}
return tokenize;
-}
+};
WebInspector.AbortTokenization = {};
@@ -95,7 +95,7 @@ self.onmessage = function(event) {
WebInspector.relaxedJSONParser = function(content)
{
postMessage(WebInspector.RelaxedJSONParser.parse(content));
-}
+};
/**
* @param {string} content
@@ -138,7 +138,7 @@ WebInspector.evaluatableJavaScriptSubstring = function(content)
console.error(e);
}
postMessage(result);
-}
+};
/**
* @param {string} content
@@ -190,7 +190,7 @@ WebInspector.javaScriptIdentifiers = function(content)
walker.walk(functionNode.body);
var reduced = identifiers.map(id => ({name: id.name, offset: id.start}));
postMessage(reduced);
-}
+};
/**
* @param {string} mimeType
@@ -230,12 +230,12 @@ WebInspector.format = function(mimeType, text, indentString)
result.content = text;
}
postMessage(result);
-}
+};
/**
* @interface
*/
-WebInspector.FormatterWorkerContentParser = function() { }
+WebInspector.FormatterWorkerContentParser = function() { };
WebInspector.FormatterWorkerContentParser.prototype = {
/**
@@ -243,7 +243,7 @@ WebInspector.FormatterWorkerContentParser.prototype = {
* @return {!Object}
*/
parse: function(content) { }
-}
+};
/**
* @param {string} content
@@ -266,4 +266,4 @@ WebInspector.FormatterWorkerContentParser.parse = function(content, mimeType)
{
return extension.descriptor()["mimeType"] === mimeType;
}
-}
+};

Powered by Google App Engine
This is Rietveld 408576698