[gnome-maps/wip/mlundblad/transit-tweaks] fixup! WIP: Add module to apply tweaks on transit itineraries



commit c67c77a1397673d9edeba1501c1c6359207cd673
Author: Marcus Lundblad <ml update uu se>
Date:   Sun Oct 27 21:56:14 2019 +0100

    fixup! WIP: Add module to apply tweaks on transit itineraries

 src/transitTweaks.js | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/transitTweaks.js b/src/transitTweaks.js
index 4d0db0eb..78f666ca 100644
--- a/src/transitTweaks.js
+++ b/src/transitTweaks.js
@@ -112,8 +112,6 @@ var TransitTweaks = class {
         if (agencyTweaks) {
             let routeTypeTweaks = agencyTweaks.routeTypes[leg.routeType];
 
-            Utils.debug('route type tweaks: ' + JSON.stringify(routeTypeTweaks, null, 2));
-
             if (routeTypeTweaks) {
                 let tweakToApply;
                 let bboxTweaks = routeTypeTweaks.bboxes;
@@ -135,7 +133,6 @@ var TransitTweaks = class {
                             /* if boundingbox fits, use embedded route or
                              * route pattern tweaks
                              */
-                            Utils.debug('matching on bounding box');
                             routeTweaks = tweak.routes ?
                                           tweak.routes[leg.route] : null;
                             routePatternTweaks = tweak.routePatterns;
@@ -160,9 +157,6 @@ var TransitTweaks = class {
                     tweakToApply = routeTypeTweaks;
                 }
 
-                Utils.debug('tweak to apply: ' +
-                            JSON.stringify(tweakToApply, null, 2));
-
                 this._applyRouteTweaksToLeg(leg, tweakToApply);
             }
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]