Skip to content

Commit

Permalink
fix js indentation that was messed up by tab->space conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
trey0 committed Aug 17, 2012
1 parent d9d6629 commit 47d2f9d
Show file tree
Hide file tree
Showing 6 changed files with 325 additions and 312 deletions.
3 changes: 1 addition & 2 deletions geocamTiePoint/static/geocamTiePoint/js/optimize.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ if (! window.geocamTiepoint) { window.geocamTiepoint = {}; }
* geocamTiepoint.linear_regression(V, U)
*/

(function()
{
(function() {

/* f1dim: Breaks down the multidimensional function to one-d function
* for golden to handle. */
Expand Down
4 changes: 2 additions & 2 deletions geocamTiePoint/static/geocamTiePoint/js/overlay-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ function getNormalizedCoord(coord, zoom) {
var tileRange = 1 << zoom;

if (y < 0 || y >= tileRange)
return null;
return null;

if (x < 0 || x >= tileRange)
x = (x % tileRange + tileRange) % tileRange;
x = (x % tileRange + tileRange) % tileRange;

return {
x: x,
Expand Down
Loading

0 comments on commit 47d2f9d

Please sign in to comment.