jsdom.env({
html: "<html><body></body></html>",
scripts: [
//'http://code.jquery.com/jquery-1.5.min.js'
'http://server.local:3000/jquery/jquery.min.js'
]
}, function (err, window) {
它不起作用 脚本是“http://server.local:3000/jquery/jquery.min.js”(可使用浏览器使用) jquery.min.js 是 jquery-1.5.min.js 的副本
如果脚本是 'http://code.jquery.com/jquery-1.5.min.js' - 一切正常。
怎么了?