Skip to content

Commit

Permalink
Merge pull request #64 from yahoo/autobindfalse
Browse files Browse the repository at this point in the history
set autobind as false
  • Loading branch information
kaesonho committed Jan 8, 2016
2 parents aaa4193 + 7b1ff05 commit 2a7b3b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/createI13nNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module.exports = function createI13nNode (Component, options) {
var I13nComponent = React.createClass({
displayName: 'I13n' + componentName,
mixins: [I13nMixin],
autobind: false,

/**
* getDefaultProps
Expand Down
2 changes: 2 additions & 0 deletions src/utils/setupI13n.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ module.exports = function setupI13n (Component, options, plugins) {

displayName: 'RootI13n' + componentName,

autobind: false,

/**
* componentWillMount
* @method componentWillMount
Expand Down

0 comments on commit 2a7b3b8

Please sign in to comment.