[Pkg-javascript-commits] [leaflet] 187/301: Fixed smart tabs
Jonas Smedegaard
js at moszumanska.debian.org
Mon Jan 27 22:22:50 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository leaflet.
commit 63e84693aec9459bd066022bf5117f5516d6028e
Author: perliedman <per.liedman at kartena.se>
Date: Wed Nov 6 21:55:33 2013 +0100
Fixed smart tabs
---
src/geo/crs/CRS.js | 4 ++--
src/layer/tile/TileLayer.js | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/geo/crs/CRS.js b/src/geo/crs/CRS.js
index a24a8b4..e577d8f 100644
--- a/src/geo/crs/CRS.js
+++ b/src/geo/crs/CRS.js
@@ -5,14 +5,14 @@
L.CRS = {
latLngToPoint: function (latlng, zoom) { // (LatLng, Number) -> Point
var projectedPoint = this.projection.project(latlng),
- scale = this.scale(zoom);
+ scale = this.scale(zoom);
return this.transformation._transform(projectedPoint, scale);
},
pointToLatLng: function (point, zoom) { // (Point, Number[, Boolean]) -> LatLng
var scale = this.scale(zoom),
- untransformedPoint = this.transformation.untransform(point, scale);
+ untransformedPoint = this.transformation.untransform(point, scale);
return this.projection.unproject(untransformedPoint);
},
diff --git a/src/layer/tile/TileLayer.js b/src/layer/tile/TileLayer.js
index e0b13a2..69d5c8e 100644
--- a/src/layer/tile/TileLayer.js
+++ b/src/layer/tile/TileLayer.js
@@ -474,7 +474,7 @@ L.TileLayer = L.Class.extend({
_getWrapTileNum: function () {
var crs = this._map.options.crs,
- size = crs.getSize(this._getZoomForUrl());
+ size = crs.getSize(this._getZoomForUrl());
return size.divideBy(this.options.tileSize);
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git
More information about the Pkg-javascript-commits
mailing list