~ted/lazr-js/annoying-debug-message

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/datasource/datasource-xmlschema.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-09-09 14:20:30 UTC
  • mfrom: (182.1.3 yui-3.2)
  • Revision ID: launchpad@pqm.canonical.com-20100909142030-13w6vo0ixfysxc15
[r=beuno] Update lazr-js to yui-3.2

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.2
6
 
build: 56
 
5
version: 3.2.0
 
6
build: 2676
7
7
*/
8
8
YUI.add('datasource-xmlschema', 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) && e.data.responseXML && (e.data.responseXML.nodeType === 9)) ? e.data.responseXML : e.data,
94
 
            response = Y.DataSchema.XML.apply(this.get("schema"), data);
 
94
            response = Y.DataSchema.XML.apply.call(this, this.get("schema"), data);
95
95
            
96
96
        // Default
97
97
        if(!response) {
109
109
Y.namespace('Plugin').DataSourceXMLSchema = DataSourceXMLSchema;
110
110
 
111
111
 
112
 
}, '3.1.2' ,{requires:['plugin', 'datasource-local', 'dataschema-xml']});
 
112
 
 
113
}, '3.2.0' ,{requires:['plugin', 'datasource-local', 'dataschema-xml']});