Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-07-31 08:59:21 +0300
committerEvan Read <eread@gitlab.com>2019-07-31 08:59:21 +0300
commit59b7473672f52f9ab7f237b1ccaaeee571f51add (patch)
tree6e41a1c533db19804b02c9cdef89ccce682e6f23 /layouts/mermaid.html
parent8cb8fd429bd8c55601151c583ed6a2fdb23c1d22 (diff)
Upgrade to Mermaid v8.2.3
Subgraph titles that contain more than one word must now include quotes around them. This update matches the version used in GitLab 12.1. This update is needed to make https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31312/diffs work. Obtained from: https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.2.3/mermaid.min.js
Diffstat (limited to 'layouts/mermaid.html')
-rw-r--r--layouts/mermaid.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/mermaid.html b/layouts/mermaid.html
index db5c71da2..734af7b8d 100644
--- a/layouts/mermaid.html
+++ b/layouts/mermaid.html
@@ -5,7 +5,7 @@
}
var element = document.createElement("script");
- element.src = "<%= @items['/assets/javascripts/mermaid.min.*'].path %>";
+ element.src = "//cdnjs.cloudflare.com/ajax/libs/mermaid/8.2.3/mermaid.min.js";
element.onload = function(){mermaid.init();};
document.body.appendChild(element);
}
@@ -15,4 +15,4 @@ if (window.addEventListener)
else if (window.attachEvent)
window.attachEvent("onload", loadMermaidJsIfNeeded);
else window.onload = loadMermaidJsIfNeeded;
-</script> \ No newline at end of file
+</script>