babel-plugin-autobind-class-methods
Advanced tools
Comparing version 2.1.1 to 3.0.0
@@ -34,3 +34,3 @@ 'use strict'; | ||
constructor = node; | ||
} else { | ||
} else if (node.isClassMethod({ kind: 'method' })) { | ||
methods.push(node.node.key); | ||
@@ -37,0 +37,0 @@ } |
{ | ||
"name": "babel-plugin-autobind-class-methods", | ||
"version": "2.1.1", | ||
"version": "3.0.0", | ||
"description": "Babel plugin that binds every class method to \"this\" with hot reload support", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
8217