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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/Settings.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/common/Settings.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/Settings.js b/third_party/WebKit/Source/devtools/front_end/common/Settings.js
index ad2e6ccc849077f2852618c4c0951d1c9d787c69..d1bf8304946ca789abd86e2fd8aa66c6c21f2f96 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/Settings.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/Settings.js
@@ -44,7 +44,7 @@ WebInspector.Settings = function(storage)
/** @type {!Map<string, !WebInspector.Setting>} */
this._moduleSettings = new Map();
self.runtime.extensions("setting").forEach(this._registerModuleSetting.bind(this));
-}
+};
WebInspector.Settings.prototype = {
/**
@@ -129,7 +129,7 @@ WebInspector.Settings.prototype = {
var versionSetting = WebInspector.settings.createSetting(WebInspector.VersionController._currentVersionName, 0);
versionSetting.set(WebInspector.VersionController.currentVersion);
}
-}
+};
/**
* @constructor
@@ -144,7 +144,7 @@ WebInspector.SettingsStorage = function(object, setCallback, removeCallback, rem
this._setCallback = setCallback || function() {};
this._removeCallback = removeCallback || function() {};
this._removeAllCallback = removeAllCallback || function() {};
-}
+};
WebInspector.SettingsStorage.prototype = {
/**
@@ -209,7 +209,7 @@ WebInspector.SettingsStorage.prototype = {
for (var i = 0; i < 10 && i < keys.length; ++i)
WebInspector.console.log("Setting: '" + keys[i] + "', size: " + sizes[keys[i]]);
}
-}
+};
/**
* @constructor
@@ -227,7 +227,7 @@ WebInspector.Setting = function(settings, name, defaultValue, eventSupport, stor
this._defaultValue = defaultValue;
this._eventSupport = eventSupport;
this._storage = storage;
-}
+};
WebInspector.Setting.prototype = {
/**
@@ -310,7 +310,7 @@ WebInspector.Setting.prototype = {
WebInspector.console.error(errorMessage);
this._storage._dumpSizes();
}
-}
+};
/**
* @constructor
@@ -326,7 +326,7 @@ WebInspector.RegExpSetting = function(settings, name, defaultValue, eventSupport
{
WebInspector.Setting.call(this, settings, name, defaultValue ? [{ pattern: defaultValue }] : [], eventSupport, storage);
this._regexFlags = regexFlags;
-}
+};
WebInspector.RegExpSetting.prototype = {
/**
@@ -389,14 +389,14 @@ WebInspector.RegExpSetting.prototype = {
},
__proto__: WebInspector.Setting.prototype
-}
+};
/**
* @constructor
*/
WebInspector.VersionController = function()
{
-}
+};
WebInspector.VersionController._currentVersionName = "inspectorVersion";
WebInspector.VersionController.currentVersion = 20;
@@ -763,7 +763,7 @@ WebInspector.VersionController.prototype = {
if (breakpointsSetting.get().length > maxBreakpointsCount)
breakpointsSetting.set([]);
}
-}
+};
/**
* @type {!WebInspector.Settings}
@@ -777,7 +777,7 @@ WebInspector.settings;
WebInspector.moduleSetting = function(settingName)
{
return WebInspector.settings.moduleSetting(settingName);
-}
+};
/**
* @param {string} settingName
@@ -786,4 +786,4 @@ WebInspector.moduleSetting = function(settingName)
WebInspector.settingForTest = function(settingName)
{
return WebInspector.settings.settingForTest(settingName);
-}
+};

Powered by Google App Engine
This is Rietveld 408576698