diff --git a/src/HTMLImports.js b/src/HTMLImports.js index d6b6d13..530c910 100644 --- a/src/HTMLImports.js +++ b/src/HTMLImports.js @@ -423,7 +423,7 @@ xhr = xhr || { request.addEventListener('readystatechange', function(e) { if (request.readyState === 4) { next.call(nextContext, !xhr.ok(request) && request, - request.response, url); + request.response || request.responseText, url); } }); request.send();