~landscape/lazr-js/production

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/datasource/datasource-arrayschema-debug.js

  • Committer: Sidnei da Silva
  • Date: 2010-09-18 14:54:13 UTC
  • mfrom: (166.11.12 toolchain)
  • Revision ID: sidnei.da.silva@canonical.com-20100918145413-8scojue3rodcm0f4
- Merge from lazr-js trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
3
Code licensed under the BSD License:
4
4
http://developer.yahoo.com/yui/license.html
5
 
version: 3.1.1
6
 
build: 47
 
5
version: 3.2.0
 
6
build: 2676
7
7
*/
8
8
YUI.add('datasource-arrayschema', function(Y) {
9
9
 
91
91
     */
92
92
    _beforeDefDataFn: function(e) {
93
93
        var data = (Y.DataSource.IO && (this.get("host") instanceof Y.DataSource.IO) && Y.Lang.isString(e.data.responseText)) ? e.data.responseText : e.data,
94
 
            response = Y.DataSchema.Array.apply(this.get("schema"), data);
 
94
            response = Y.DataSchema.Array.apply.call(this, this.get("schema"), data);
95
95
            
96
96
        // Default
97
97
        if(!response) {
109
109
Y.namespace('Plugin').DataSourceArraySchema = DataSourceArraySchema;
110
110
 
111
111
 
112
 
}, '3.1.1' ,{requires:['plugin', 'datasource-local', 'dataschema-array']});
 
112
 
 
113
}, '3.2.0' ,{requires:['plugin', 'datasource-local', 'dataschema-array']});