[gnome-maps/wip/refactor2: 4/7] Cleanup: Add some missing semicolons
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/refactor2: 4/7] Cleanup: Add some missing semicolons
- Date: Mon, 13 Oct 2014 19:36:34 +0000 (UTC)
commit 47b1639863075bfc6007c09b83a75359b241fa76
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date: Mon Oct 13 19:32:44 2014 +0200
Cleanup: Add some missing semicolons
Semi-colons aren't strictly necessary in JavaScript, but not using them
can sometimes bite you, so we have decided to use semi-colons throughout
our code base.
Fix three cases where semi-colons were missing.
src/routeQuery.js | 2 +-
src/turnPointMarker.js | 2 +-
src/utils.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/routeQuery.js b/src/routeQuery.js
index 7f58b16..c706aed 100644
--- a/src/routeQuery.js
+++ b/src/routeQuery.js
@@ -74,7 +74,7 @@ const RouteQuery = new Lang.Class({
get filledPoints() {
return this.points.filter(function(point) {
- return point.place
+ return point.place;
});
},
diff --git a/src/turnPointMarker.js b/src/turnPointMarker.js
index 0abadc0..4252b64 100644
--- a/src/turnPointMarker.js
+++ b/src/turnPointMarker.js
@@ -42,7 +42,7 @@ const TurnPointMarker = new Lang.Class({
},
_init: function(params) {
- this._turnPoint = params.turnPoint
+ this._turnPoint = params.turnPoint;
delete params.turnPoint;
params.place = new Geocode.Place({
diff --git a/src/utils.js b/src/utils.js
index f5b9f0d..9a0a77b 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -45,7 +45,7 @@ let debugEnabled = false;
let _iconStore = {};
-let measurementSystem = null
+let measurementSystem = null;
function debug(str) {
if (!debugInit) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]