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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.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/sdk/SourceMap.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
index 8f7686b5eb2cb8aeb0b548dd2cd07871e0ed1021..598a8a3fa96359827960c5f5f2a2eedbaf401ea9 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js
@@ -49,7 +49,7 @@ SourceMapV3.Section = function()
{
/** @type {!SourceMapV3} */ this.map;
/** @type {!SourceMapV3.Offset} */ this.offset;
-}
+};
/**
* @constructor
@@ -58,7 +58,7 @@ SourceMapV3.Offset = function()
{
/** @type {number} */ this.line;
/** @type {number} */ this.column;
-}
+};
/**
* @constructor
@@ -77,12 +77,12 @@ WebInspector.SourceMapEntry = function(lineNumber, columnNumber, sourceURL, sour
this.sourceLineNumber = sourceLineNumber;
this.sourceColumnNumber = sourceColumnNumber;
this.name = name;
-}
+};
/**
* @interface
*/
-WebInspector.SourceMap = function() { }
+WebInspector.SourceMap = function() { };
WebInspector.SourceMap.prototype = {
/**
@@ -131,7 +131,7 @@ WebInspector.SourceMap.prototype = {
* @return {!Promise<?WebInspector.SourceMap.EditResult>}
*/
editCompiled: function(ranges, texts) { },
-}
+};
/**
* @constructor
@@ -144,12 +144,12 @@ WebInspector.SourceMap.EditResult = function(map, compiledEdits, newSources)
this.map = map;
this.compiledEdits = compiledEdits;
this.newSources = newSources;
-}
+};
/**
* @interface
*/
-WebInspector.SourceMapFactory = function() { }
+WebInspector.SourceMapFactory = function() { };
WebInspector.SourceMapFactory.prototype = {
/**
@@ -158,7 +158,7 @@ WebInspector.SourceMapFactory.prototype = {
* @return {!Promise<?WebInspector.SourceMap>}
*/
editableSourceMap: function(target, sourceMap) { },
-}
+};
/**
* Implements Source Map V3 model. See https://github.com/google/closure-compiler/wiki/Source-Maps
@@ -186,7 +186,7 @@ WebInspector.TextSourceMap = function(compiledURL, sourceMappingURL, payload)
/** @type {!Map<string, !WebInspector.TextSourceMap.SourceInfo>} */
this._sourceInfos = new Map();
this._eachSection(this._parseSources.bind(this));
-}
+};
/**
* @param {string} sourceMapURL
@@ -225,7 +225,7 @@ WebInspector.TextSourceMap.load = function(sourceMapURL, compiledURL)
callback(null);
}
}
-}
+};
WebInspector.TextSourceMap.prototype = {
/**
@@ -546,7 +546,7 @@ WebInspector.TextSourceMap.prototype = {
_VLQ_BASE_SHIFT: 5,
_VLQ_BASE_MASK: (1 << 5) - 1,
_VLQ_CONTINUATION_MASK: 1 << 5
-}
+};
/**
* @constructor
@@ -556,7 +556,7 @@ WebInspector.TextSourceMap.StringCharIterator = function(string)
{
this._string = string;
this._position = 0;
-}
+};
WebInspector.TextSourceMap.StringCharIterator.prototype = {
/**
@@ -582,7 +582,7 @@ WebInspector.TextSourceMap.StringCharIterator.prototype = {
{
return this._position < this._string.length;
}
-}
+};
/**
* @constructor
@@ -592,6 +592,6 @@ WebInspector.TextSourceMap.StringCharIterator.prototype = {
WebInspector.TextSourceMap.SourceInfo = function(content, reverseMappings) {
this.content = content;
this.reverseMappings = reverseMappings;
-}
+};
WebInspector.TextSourceMap._sourcesListSymbol = Symbol("sourcesList");

Powered by Google App Engine
This is Rietveld 408576698