From 50dc709f0165bc4bbfd33c9bc002c0ee2a235af6 Mon Sep 17 00:00:00 2001 From: Cspeisman Date: Tue, 31 Mar 2015 10:00:03 -0700 Subject: [PATCH] missing '.' in ListView.DataSource example Summary: The `ListView.DataSource` example is missing a period. Previously looked like a method i.e.` ListViewDataSource` Closes https://github.com/facebook/react-native/pull/520 Github Author: Cspeisman Test Plan: Imported from GitHub, without a `Test Plan:` line. --- 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 ecf446725..3fdb980b5 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']), * };