reverts last because it was useless

This commit is contained in:
Francisco Dans 2015-05-05 16:56:28 +02:00
parent 3476c74f1c
commit 52b3521557
2 changed files with 1 additions and 11 deletions

View File

@ -9,20 +9,10 @@ JS_CLIENT_FILES= lib/torque/*.js \
lib/torque/leaflet/canvas_layer.js \ lib/torque/leaflet/canvas_layer.js \
lib/torque/leaflet/torque.js lib/torque/leaflet/torque.js
all: dist/torque.js dist/torque.full.js
dist/torque.full.uncompressed.js: dist_folder dist/torque.uncompressed.js dist/torque.full.uncompressed.js: dist_folder dist/torque.uncompressed.js
$(BROWSERIFY) lib/torque/index.js --standalone torque > dist/torque.full.uncompressed.js $(BROWSERIFY) lib/torque/index.js --standalone torque > dist/torque.full.uncompressed.js
dist/torque.full.js: dist_folder dist/torque.full.uncompressed.js
$(UGLIFYJS) dist/torque.full.uncompressed.js > dist/torque.full.js
dist/torque.uncompressed.js: dist_folder $(JS_CLIENT_FILES)
$(BROWSERIFY) lib/torque/index.js --no-bundle-external --standalone torque > dist/torque.uncompressed.js
dist/torque.js: dist_folder dist/torque.uncompressed.js
$(UGLIFYJS) dist/torque.uncompressed.js > dist/torque.js
dist_folder: dist_folder:
mkdir -p dist mkdir -p dist

View File

@ -85,7 +85,7 @@ L.CanvasLayer = L.Class.extend({
}, this); }, this);
map.on({ 'viewreset': this._reset }, this); map.on({ 'viewreset': this._reset }, this);
map.on('drag', this.render, this); map.on('move', this.render, this);
map.on('resize', this._reset, this); map.on('resize', this._reset, this);
if (this.options.zoomAnimation) { if (this.options.zoomAnimation) {