react-autobind
Advanced tools
Comparing version 1.0.0 to 1.0.5
{ | ||
"name": "react-autobind", | ||
"version": "1.0.0", | ||
"version": "1.0.5", | ||
"description": "Automatically binds methods defined within a component's Class to the current object's lexical `this` instance (similarly to the default behavior of React.createClass).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -25,2 +25,4 @@ React Class autoBind | ||
```javascript | ||
import autoBind from 'react-autobind'; | ||
constructor() { | ||
@@ -37,2 +39,4 @@ super(); | ||
```javascript | ||
import autoBind from 'react-autobind'; | ||
constructor() { | ||
@@ -49,3 +53,3 @@ super(); | ||
import {render} from 'react-dom'; | ||
import autoBind from './autoBind'; | ||
import autoBind from 'react-autobind'; | ||
@@ -52,0 +56,0 @@ class App extends React.Component { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20546
86