Fix typo in sample code

This commit is contained in:
Rudolf Adamkovic 2015-03-27 00:22:16 +01:00
parent 2e9adef52e
commit d1f70f64de
1 changed files with 1 additions and 1 deletions

View File

@ -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']),
* };