babel-plugin-autobind-class-methods
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -39,3 +39,3 @@ 'use strict' | ||
newConstructor.params = [t.restElement(t.identifier("args"))]; | ||
newConstructor.body.body.push(t.returnStatement(t.callExpression(t.super(), [t.spreadElement(t.identifier("args"))]))); | ||
newConstructor.body.body.push(t.callExpression(t.super(), [t.spreadElement(t.identifier("args"))])); | ||
} | ||
@@ -42,0 +42,0 @@ constructor = body.unshiftContainer("body", newConstructor)[0]; |
{ | ||
"name": "babel-plugin-autobind-class-methods", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Babel plugin that binds every class method to \"this\" with hot reload support", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3699