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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/JSONView.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/network/JSONView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/JSONView.js b/third_party/WebKit/Source/devtools/front_end/network/JSONView.js
index 32b2e826e459609dccfdd298b7c05a253eccc0c8..7b830c80c254050031c592b118b5f78358a48a43 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/JSONView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/JSONView.js
@@ -50,7 +50,7 @@ WebInspector.JSONView = function(parsedJSON)
this._currentSearchTreeElements = [];
/** @type {?RegExp} */
this._searchRegex = null;
-}
+};
/**
* @param {!WebInspector.ParsedJSON} parsedJSON
@@ -65,7 +65,7 @@ WebInspector.JSONView.createSearchableView = function(parsedJSON)
jsonView.show(searchableView.element);
jsonView.element.setAttribute("tabIndex", 0);
return searchableView;
-}
+};
/**
* @param {?string} text
@@ -79,7 +79,7 @@ WebInspector.JSONView.parseJSON = function(text)
if (!returnObj)
return Promise.resolve(/** @type {?WebInspector.ParsedJSON} */ (null));
return WebInspector.formatterWorkerPool.runTask("relaxedJSONParser", {content: returnObj.data})
- .then(handleReturnedJSON)
+ .then(handleReturnedJSON);
/**
* @param {?MessageEvent} event
@@ -92,7 +92,7 @@ WebInspector.JSONView.parseJSON = function(text)
returnObj.data = event.data;
return returnObj;
}
-}
+};
/**
* @param {string} text
@@ -120,7 +120,7 @@ WebInspector.JSONView._extractJSON = function(text)
return null;
return new WebInspector.ParsedJSON(text, prefix, suffix);
-}
+};
/**
* @param {string} text
@@ -136,7 +136,7 @@ WebInspector.JSONView._findBrackets = function(text, open, close)
if (start === -1 || end === -1 || end < start)
length = -1;
return {start: start, end: end, length: length};
-}
+};
WebInspector.JSONView.prototype = {
wasShown: function()
@@ -296,7 +296,7 @@ WebInspector.JSONView.prototype = {
},
__proto__: WebInspector.VBox.prototype
-}
+};
/**
* @constructor
@@ -309,4 +309,4 @@ WebInspector.ParsedJSON = function(data, prefix, suffix)
this.data = data;
this.prefix = prefix;
this.suffix = suffix;
-}
+};

Powered by Google App Engine
This is Rietveld 408576698