From 57d15b6ea95e4872523d94e42c71181b50cc3e90 Mon Sep 17 00:00:00 2001 From: Alex de Mulder Date: Thu, 26 Feb 2015 22:24:57 +0100 Subject: [PATCH] removed event. events are used for messaging between modules. --- lib/network/modules/View.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/network/modules/View.js b/lib/network/modules/View.js index d1b555ca..58a3cb45 100644 --- a/lib/network/modules/View.js +++ b/lib/network/modules/View.js @@ -26,7 +26,6 @@ class View { this.viewFunction = undefined; this.body.emitter.on("zoomExtent", this.zoomExtent.bind(this)); - this.body.emitter.on("zoomExtentInstantly", this.zoomExtent.bind(this,{duration:0})); this.body.emitter.on("_setScale", (scale) => this.scale = scale); this.body.emitter.on("_setTranslation", (translation) => {this.translation.x = translation.x; this.translation.y = translation.y;}); this.body.emitter.on("animationFinished", () => {this.body.emitter.emit("_stopRendering");});