section.outerHTML='<section data-state="alert">ERROR: The attempt to fetch '+url+' failed with the HTTP status '+xhr.status+
'. Check your browser\'s JavaScript console for more details.'+
'<p>Remember that you need to serve the presentation HTML from a HTTP server and the Markdown file must be there too.</p></section>';
section.outerHTML='<section data-state="alert">'+
'ERROR: The attempt to fetch '+url+' failed with HTTP status '+xhr.status+'.'+
'Check your browser\'s JavaScript console for more details.'+
'<p>Remember that you need to serve the presentation HTML from a HTTP server.</p>'+
'</section>';
}
}
};
...
...
@@ -192,43 +227,45 @@
alert('Failed to get the Markdown file '+url+'. Make sure that the presentation and the file are served by a HTTP server and the file can be found there. '+e);