Skip to content

调用ajax模块报错 #2

@shaniu00

Description

@shaniu00

var KISSY = require('kissy').KISSY;
KISSY.use("node,ajax,json", function(S, Node, IO, JSON) {
IO.jsonp('http://query.yahooapis.com/v1/public/yql?q=select%20title%2Clink%2Cdescription%20from%20rss%20where%20url%3D%22http%3A%2F%2Fued.taobao.com%2Fblog%2Ffeed%2F%22&format=json&diagnostics=true',
function(data) {
log(JSON.stringify(data));
}
);
});

windows7

file:E:/nodejs/buyitmall/node_modules/kissy/build/ajax.js:1849
rTransportBase.supportCORS = ('withCredentials' in XhrTransportBase.nativeXhr(
^
TypeError: Cannot use 'in' operator to search for 'withCredentials' in undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions