Skip to content

Commit 9e51a36

Browse files
ShashankaNatarajJacob Wenger
authored andcommitted
Removed unneeded inner bind(this) (#122)
The inner bind is useless create-react-apps 'default webpack config was what pointed out this issue.
1 parent f63fafa commit 9e51a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/todoApp/js/todoAppFirebaseExplicit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var TodoApp2 = React.createClass({
3232
var item = childSnapshot.val();
3333
item['.key'] = childSnapshot.key;
3434
items.push(item);
35-
}.bind(this));
35+
});
3636

3737
this.setState({
3838
items: items

0 commit comments

Comments
 (0)