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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.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/emulation/Geolocation.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js b/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js
index 7ede716c22851dd4be9e6eb1e2811fc11ea2fd0b..17930b94d2b474455719c4eaf499643c73ac4721 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/Geolocation.js
@@ -13,7 +13,7 @@ WebInspector.Geolocation = function(latitude, longitude, error)
this.latitude = latitude;
this.longitude = longitude;
this.error = error;
-}
+};
WebInspector.Geolocation.prototype = {
/**
@@ -39,7 +39,7 @@ WebInspector.Geolocation.prototype = {
for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.Browser))
target.emulationAgent().clearGeolocationOverride();
}
-}
+};
/**
* @return {!WebInspector.Geolocation}
@@ -55,7 +55,7 @@ WebInspector.Geolocation.parseSetting = function(value)
}
}
return new WebInspector.Geolocation(0, 0, false);
-}
+};
/**
* @param {string} latitudeString
@@ -77,7 +77,7 @@ WebInspector.Geolocation.parseUserInput = function(latitudeString, longitudeStri
var latitude = isLatitudeValid ? parseFloat(latitudeString) : -1;
var longitude = isLongitudeValid ? parseFloat(longitudeString) : -1;
return new WebInspector.Geolocation(latitude, longitude, !!errorStatus);
-}
+};
/**
* @param {string} value
@@ -87,7 +87,7 @@ WebInspector.Geolocation.latitudeValidator = function(value)
{
var numValue = parseFloat(value);
return /^([+-]?[\d]+(\.\d+)?|[+-]?\.\d+)$/.test(value) && numValue >= -90 && numValue <= 90;
-}
+};
/**
* @param {string} value
@@ -97,6 +97,6 @@ WebInspector.Geolocation.longitudeValidator = function(value)
{
var numValue = parseFloat(value);
return /^([+-]?[\d]+(\.\d+)?|[+-]?\.\d+)$/.test(value) && numValue >= -180 && numValue <= 180;
-}
+};
WebInspector.Geolocation.DefaultMockAccuracy = 150;

Powered by Google App Engine
This is Rietveld 408576698