Skip to content

Commit 50dc709

Browse files
committed
missing '.' in ListView.DataSource example
Summary: The `ListView.DataSource` example is missing a period. Previously looked like a method i.e.` ListViewDataSource` Closes facebook#520 Github Author: Cspeisman <Cspeisman@gmail.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
1 parent 1996914 commit 50dc709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/CustomComponents/ListView/ListView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ var SCROLLVIEW_REF = 'listviewscroll';
6161
*
6262
* ```
6363
* getInitialState: function() {
64-
* var ds = new ListViewDataSource({rowHasChanged: (r1, r2) => r1 !== r2});
64+
* var ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2});
6565
* return {
6666
* dataSource: ds.cloneWithRows(['row 1', 'row 2']),
6767
* };

0 commit comments

Comments
 (0)