[gnome-maps/wip/refactor2: 4/9] Cleanup: Add some missing semicolons



commit 08482eefd519d95c5bac70cd56c819f8c4098ffb
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699967

 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]