nodejs-kissy icon indicating copy to clipboard operation
nodejs-kissy copied to clipboard

调用ajax模块报错

Open shaniu00 opened this issue 12 years ago • 0 comments

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

shaniu00 avatar May 22 '13 05:05 shaniu00