Fixed some js lint errors

This commit is contained in:
Mihai Varga 2015-04-10 16:23:23 +03:00
parent 2aa7f55ea8
commit 144c9ab1df
2 changed files with 2 additions and 2 deletions

View file

@ -635,7 +635,7 @@ L.GridLayer = L.Layer.extend({
var key = this._tileCoordsToKey(coords); var key = this._tileCoordsToKey(coords);
tile = this._tiles[key]; tile = this._tiles[key];
if (!tile || tile.loaded !== undefined ) { return; } if (!tile || tile.loaded !== undefined) { return; }
tile.loaded = +new Date(); tile.loaded = +new Date();
if (this._map._fadeAnimated) { if (this._map._fadeAnimated) {

View file

@ -338,7 +338,7 @@ L.Map = L.Evented.extend({
return this._size.clone(); return this._size.clone();
}, },
getPixelBounds: function (center, zoom) { getPixelBounds: function (center) {
var topLeftPoint = new L.Point( var topLeftPoint = new L.Point(
this._outerContainer.scrollLeft, this._outerContainer.scrollLeft,
this._outerContainer.scrollTop); this._outerContainer.scrollTop);