From 23dec322c1fcdd2d2d8af8a165bed94f71a58432 Mon Sep 17 00:00:00 2001 From: Andrey Polischuk Date: Thu, 6 Jul 2017 16:18:54 +0300 Subject: [PATCH] Remove extraneous binding --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 6452f64..1646a84 100644 --- a/index.js +++ b/index.js @@ -26,7 +26,6 @@ export default class Magnifier { this.handleLoad = this.handleLoad.bind(this); this.handleTouchMove = this.handleTouchMove.bind(this); this.handleTouchEnd = this.handleTouchEnd.bind(this); - this.destroy = this.destroy.bind(this); Object.keys(this.props).forEach(prop => this.setStyle(prop, this.props[prop])); insertAfter(this.lens, this.el); this.show();