PDA

View Full Version : Sencha Touch API Docs (Web) - Error



wilzdezign
27 Jul 2011, 1:43 PM
Off the web API docs at http://dev.sencha.com/deploy/touch/docs/?class=Ext.plugins.ListPagingPlugin (under Class Ext.plugins.ListPagingPlugin) under Config options, the option 'pullRefreshText' is shown three times in a row. However, it should be 'pullRefreshText', 'releaseRefreshText' and 'loadingText' as the three options.

It looks like in the code source before the styling at http://dev.sencha.com/deploy/touch/docs/source/PullRefresh.html#cfg-Ext.plugins.ListPagingPlugin-pullRefreshText

.. the "@cfg {String} pullRefreshText" was copied three times and not changed to match the option

bharatn
27 Jul 2011, 1:54 PM
Thanks for the report. Note sent to documentation team.

Hanni Sullivan
27 Jul 2011, 10:58 PM
If we are talking about the ListPagingPlugin anyway, you might inform the documentation team, that the entry actually shows the documentation of the PullRefreshPlugin! The actual ListPagingPlugin documentation is nowhere to be found.

Somebody has obviously forgotten to change the Ext Doc of the PullRefreshPlugin, it reads:


/**
* @class Ext.plugins.ListPagingPlugin
* @extends Ext.util.Observable
* This plugin adds pull to refresh functionality to the List.
*/
Ext.plugins.PullRefreshPlugin = Ext.extend(Ext.util.Observable, {...


which explains why the PullRefreshPlugin shows up as the ListPagingPlugin.

wilzdezign
28 Jul 2011, 7:58 AM
If we are talking about the ListPagingPlugin anyway, you might inform the documentation team, that the entry actually shows the documentation of the PullRefreshPlugin!...
Good find too Hanni! I wondered why the example I was looking at for the PullRefresh suddenly changed names