msdnのサンプルの話
http://msdn.microsoft.com/ja-jp/library/windows/apps/hh868282.aspx
一番下の
WinJS.xhr({ url: "http://www.msdn.microsoft.com/library", responseType: "text"
.done(
function (request) {
var text = request.responseText;
var subText = text.substring(text.indexOf("Welcome"), text.indexOf("services.") + 9);
xhrDiv.innerHTML = subText;
});
は、一行目が怪しくて、
WinJS.xhr({ url: "http://www.msdn.microsoft.com/library", responseType: "text"
↓
WinJS.xhr({ url: "http://www.msdn.microsoft.com/library", responseType: "text" })
でないかなと、
MSに連絡中ですが、一応先にここからでも共有できたらなと思いメモ