Browse Source

Merge pull request #2672 from cookfront/master

The same problem in issue #2648
main
Ben Alpert 10 years ago
parent
commit
6f4c694ac0
  1. 2
      docs/06-transferring-props.md

2
docs/06-transferring-props.md

@ -71,7 +71,7 @@ var FancyCheckbox = React.createClass({
}
});
React.render(
<FancyCheckbox checked={true} onClick={console.log}>
<FancyCheckbox checked={true} onClick={console.log.bind(console)}>
Hello world!
</FancyCheckbox>,
document.body

Loading…
Cancel
Save