http://ift.tt/1mMOmr1

Touch version tested:


Description:


The documentation found at http://ift.tt/1mMOmr1 appears to be incorrect.

The documentation states the getContacts method returns an Array of contact objects. Looking at the source code found at http://ift.tt/1v7qH4C it is very clear that it does NOT return an Array of contact objects. It looks like a config object must be passed in with callback functions. The only return statements are to return false if an adequate config has not been provided.


The example at the top of Ext.device.Contacts is also incorrect. Specifically it shows using the return results of the getContacts method as the data for a store.


Possibly the documentation of Ext.device.Contacts was not updated when a fundamental change to the code was made?