]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Fixed some EOL whitespace issues
authorDavid Seifried <david.c.seifried@gmail.com>
Mon, 29 Aug 2011 15:19:51 +0000 (11:19 -0400)
committerDavid Seifried <david.c.seifried@gmail.com>
Mon, 29 Aug 2011 15:19:51 +0000 (11:19 -0400)
plugins/googlemap/popcorn.googlemap.js

index a149ff208729b8fe78b99c87479681a02761ef05..e3b4e074d0b02e48fe175c29d8e274e61248b757 100755 (executable)
@@ -190,7 +190,7 @@ var googleCallback;
   
               //  Function to handle tweening using a set timeout
               var tween = function( rM, t ) {
-                
+
                 var computeHeading = google.maps.geometry.spherical.computeHeading;
                 setTimeout(function() {
 
@@ -205,7 +205,7 @@ var googleCallback;
 
                       //  Checks if this position along the tween should be displayed or not
                       if ( current_time >= ( waypoint.interval * ( i + 1 ) ) / 1000 &&
-                         ( current_time <= ( waypoint.interval * ( i + 2 ) ) / 1000 || 
+                         ( current_time <= ( waypoint.interval * ( i + 2 ) ) / 1000 ||
                            current_time >= waypoint.interval * ( m ) / 1000 ) ) {
 
                         sView3.setPosition( new google.maps.LatLng( waypoint.position.lat, waypoint.position.lng ) );
@@ -281,7 +281,7 @@ var googleCallback;
 
                 var showSteps = function ( directionResult, that ) {
                 
-                  //  Push new google map lat and lng values into an array from our list of lat and lng values    
+                  //  Push new google map lat and lng values into an array from our list of lat and lng values
                   var routes = directionResult.routes[ 0 ].overview_path;
                   for ( var j = 0, k = routes.length; j < k; j++ ) {
                     checkpoints.push( new google.maps.LatLng( routes[ j ].lat(), routes[ j ].lng() ) );