From: David Seifried Date: Mon, 29 Aug 2011 15:19:51 +0000 (-0400) Subject: Fixed some EOL whitespace issues X-Git-Tag: v0.8^2~5^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c63100920547ff3ba88c5f60db802e8f1cda3f81;p=popcorn-js.git Fixed some EOL whitespace issues --- diff --git a/plugins/googlemap/popcorn.googlemap.js b/plugins/googlemap/popcorn.googlemap.js index a149ff2..e3b4e07 100755 --- a/plugins/googlemap/popcorn.googlemap.js +++ b/plugins/googlemap/popcorn.googlemap.js @@ -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() ) );