From d1f70f64ded363d3f38008522c211f689b94aacc Mon Sep 17 00:00:00 2001 From: Rudolf Adamkovic Date: Fri, 27 Mar 2015 00:22:16 +0100 Subject: [PATCH] Fix typo in sample code --- 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']), * };