Skip to content

Commit

Permalink
Fix typo in sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudolf Adamkovic committed Mar 26, 2015
1 parent 2e9adef commit d1f70f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/CustomComponents/ListView/ListView.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var SCROLLVIEW_REF = 'listviewscroll';
*
* ```
* getInitialState: function() {
* var ds = new ListViewDataSource({rowHasChanged: (r1, r2) => r1 !== r2});
* var ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2});
* return {
* dataSource: ds.cloneWithRows(['row 1', 'row 2']),
* };
Expand Down

0 comments on commit d1f70f6

Please sign in to comment.