removed more unused variables

This commit is contained in:
javi 2015-10-02 17:35:12 +02:00
parent cf683238eb
commit 9f25dea8a6
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ GMapsTorqueLayer.prototype = torque.extend({},
getValues: function(step) {
var values = [];
step = step === undefined ? this.key: step;
var t, tile, pos, value = null, xx, yy;
var t, tile;
for(t in this._tiles) {
tile = this._tiles[t];
this.renderer.getValues(tile, step, values);

View File

@ -376,7 +376,7 @@ L.TorqueLayer = L.CanvasLayer.extend({
getValues: function(step) {
var values = [];
step = step === undefined ? this.key: step;
var t, tile, pos, value = null, xx, yy;
var t, tile;
for(t in this._tiles) {
tile = this._tiles[t];
this.renderer.getValues(tile, step, values);