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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.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/InspectorBackend.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js b/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
index cd0d3c12599a6385d24cdeaa207f12cee69c52ef..1f417f12234fc3ae3227dae362589078836b9e99 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/InspectorBackend.js
@@ -49,7 +49,7 @@ InspectorBackendClass.DevToolsStubErrorCode = -32015;
InspectorBackendClass.reportProtocolError = function(error, messageObject)
{
console.error(error + ": " + JSON.stringify(messageObject));
-}
+};
InspectorBackendClass.prototype = {
/**
@@ -99,7 +99,7 @@ InspectorBackendClass.prototype = {
*/
function registerDispatcher(dispatcher)
{
- this.registerDispatcher(domain, dispatcher)
+ this.registerDispatcher(domain, dispatcher);
}
window.Protocol.Agents.prototype["register" + domain + "Dispatcher"] = registerDispatcher;
@@ -198,7 +198,7 @@ InspectorBackendClass.prototype = {
}
return callbackWrapper;
}
-}
+};
/**
* @constructor
@@ -213,12 +213,12 @@ InspectorBackendClass.Connection = function()
this._callbacks = {};
this._initialize(InspectorBackend._agentPrototypes, InspectorBackend._dispatcherPrototypes);
this._isConnected = true;
-}
+};
/** @enum {symbol} */
InspectorBackendClass.Connection.Events = {
Disconnected: Symbol("Disconnected")
-}
+};
InspectorBackendClass.Connection.prototype = {
/**
@@ -484,7 +484,7 @@ InspectorBackendClass.Connection.prototype = {
__proto__: WebInspector.Object.prototype
-}
+};
/**
* @constructor
@@ -496,7 +496,7 @@ InspectorBackendClass.AgentPrototype = function(domain)
this._hasErrorData = {};
this._domain = domain;
this._suppressErrorLogging = false;
-}
+};
InspectorBackendClass.AgentPrototype.prototype = {
/**
@@ -593,7 +593,7 @@ InspectorBackendClass.AgentPrototype.prototype = {
return null;
}
- return hasParams ? params : null
+ return hasParams ? params : null;
},
/**
@@ -680,7 +680,7 @@ InspectorBackendClass.AgentPrototype.prototype = {
{
this._suppressErrorLogging = true;
}
-}
+};
/**
* @constructor
@@ -689,7 +689,7 @@ InspectorBackendClass.DispatcherPrototype = function()
{
this._eventArgs = {};
this._dispatcher = null;
-}
+};
InspectorBackendClass.DispatcherPrototype.prototype = {
@@ -745,12 +745,12 @@ InspectorBackendClass.DispatcherPrototype.prototype = {
if (InspectorBackendClass.Options.dumpInspectorTimeStats)
console.log("time-stats: " + messageObject.method + " = " + (Date.now() - processingStartTime));
}
-}
+};
InspectorBackendClass.Options = {
dumpInspectorTimeStats: false,
dumpInspectorProtocolMessages: false,
suppressRequestErrors: false
-}
+};
InspectorBackend = new InspectorBackendClass();

Powered by Google App Engine
This is Rietveld 408576698