aboutsummaryrefslogtreecommitdiffhomepage
path: root/js
diff options
context:
space:
mode:
authorJakub Holy2013-03-24 17:58:01 +0100
committerJakub Holy2013-03-24 18:06:44 +0100
commit8fd28a91858d5a530a73773591a199c1091b74c1 (patch)
treeac38b0df814dfd5da3f2ae671953a24367d05dee /js
parentd2cf21028eac378bdefe145fefa6d49841ecea1c (diff)
Better error reporting for external Markdown files
1. Show an alert when loading the file throws an exception 2. Whenever the status isn't success (2xx) - upon exception or e.g. "file not found" - replace the section's content with information about the failure (instead of being silent about it and showing a blank slide). We need to inform the user something went wrong, not just be silent about it. An experienced developer, upon seing a blank slide, will likely check the javascript console - but the rest will profit from being told about the problem (and solution) explicitely.
Diffstat (limited to 'js')
0 files changed, 0 insertions, 0 deletions