summaryrefslogtreecommitdiffstats
path: root/demo
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2015-09-16 10:38:52 +0200
committerManolo Carrasco <manolo@apache.org>2015-09-16 10:38:52 +0200
commit1943e2c1d4b964e64a572eee2515ae402b1e83c8 (patch)
tree32e27d2804abf4294d98a2d297826e40b0813e28 /demo
parent2f2bf9b23580833da78e625bc11f462f98bc3f72 (diff)
downloadvaadin-core-1943e2c1d4b964e64a572eee2515ae402b1e83c8.tar.gz
vaadin-core-1943e2c1d4b964e64a572eee2515ae402b1e83c8.zip
Fix links so as README works in master and cdn
Diffstat (limited to 'demo')
-rw-r--r--demo/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/index.html b/demo/index.html
index de86190..3e0b6ae 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -29,7 +29,7 @@
xhr.onload = function (e) {
if (xhr.readyState === 4) {
if (xhr.status === 200) {
- readme.innerHTML = xhr.responseText;
+ readme.innerHTML = marked(xhr.responseText);
[].forEach.call(readme.querySelectorAll("pre"), function(pre) {
var code = document.createElement("code");
code.innerHTML = pre.innerHTML;
@@ -48,7 +48,7 @@
xhr.onerror = function (e) {
console.error(xhr.statusText);
};
- xhr.open("GET", "../README.html");
+ xhr.open("GET", "../README.md");
xhr.send();
</script>