From d240c3169f19548323cf46383c5d0cbab3e41698 Mon Sep 17 00:00:00 2001 From: Abe Estrada Date: Tue, 31 Mar 2015 01:44:08 -0600 Subject: [PATCH] Added a missing dot. The example didn't work when copying directly from the docs. --- Libraries/CustomComponents/ListView/ListView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/CustomComponents/ListView/ListView.js b/Libraries/CustomComponents/ListView/ListView.js index b098fc0dc8de58..d4c105ba0e71b4 100644 --- a/Libraries/CustomComponents/ListView/ListView.js +++ b/Libraries/CustomComponents/ListView/ListView.js @@ -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']), * };