react-keybinding-component
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -55,3 +55,3 @@ 'use strict'; | ||
value: function componentWillUnmount() { | ||
this.props.elem.removeEventListener(this.props.type, this.onKey); | ||
this.props.target.removeEventListener(this.props.type, this.onKey); | ||
} | ||
@@ -58,0 +58,0 @@ }]); |
@@ -0,0 +0,0 @@ const gulp = require('gulp'); |
@@ -29,3 +29,3 @@ import React, { Component } from 'react'; | ||
componentWillUnmount() { | ||
this.props.elem.removeEventListener(this.props.type, this.onKey); | ||
this.props.target.removeEventListener(this.props.type, this.onKey); | ||
} | ||
@@ -32,0 +32,0 @@ } |
{ | ||
"name": "react-keybinding-component", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A React keybinding component, usable with es6, no mixin", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-keybinding-component.js", |
@@ -0,0 +0,0 @@ # react-keybinding-component |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9337