datasource-arrayschema.js revision 2634b0e23224a943745ebee1c4b016a207ab0564
0N/AYUI.
add(
'datasource-arrayschema',
function(Y) {
0N/A * Extends DataSource with schema-parsing on array data. 0N/A * @module datasource 0N/A * @submodule datasource-arrayschema 0N/A * Adds schema-parsing to the YUI DataSource utility. 0N/A * @class DataSourceArraySchema 1416N/A * The namespace for the plugin. This will be the property on the host which 0N/A * references the plugin instance. 928N/A * @value "DataSourceArraySchema" 1004N/A ///////////////////////////////////////////////////////////////////////////// 0N/A // DataSourceArraySchema Attributes 0N/A ///////////////////////////////////////////////////////////////////////////// * Internal init() handler. * @param config {Object} Config object. * Parses raw data into a normalized response. * @method _beforeDefDataFn * <dt>tId (Number)</dt> <dd>Unique transaction ID.</dd> * <dt>request (Object)</dt> <dd>The request.</dd> * <dt>callback (Object)</dt> <dd>The callback object with the following properties: * <dt>success (Function)</dt> <dd>Success handler.</dd> * <dt>failure (Function)</dt> <dd>Failure handler.</dd> * <dt>scope (Object)</dt> <dd>Execution context.</dd> * <dt>data (Object)</dt> <dd>Raw data.</dd> return new Y.
Do.
Halt(
"DataSourceArraySchema plugin halted _defDataFn");
},
'@VERSION@' ,{
requires:[
'plugin',
'datasource-local',
'dataschema-array']});