Update footer.tmpl

sorry forget to delete => .
This commit is contained in:
Laoliu 2018-06-03 10:02:39 +08:00 committed by GitHub
parent fcfd6213b0
commit 20dd089435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function () { $(document).ready(function () {
$('.language-flow').each(function(i, flow)=>{ $('.language-flow').each(function(i, flow){
var eleId = 'flow_' + i; var eleId = 'flow_' + i;
var diagram = flowchart.parse($(flow).text()); var diagram = flowchart.parse($(flow).text());
$('<div id="' + eleId +'"></div>').appendTo($(flow).parent('pre').get(0)); $('<div id="' + eleId +'"></div>').appendTo($(flow).parent('pre').get(0));
@ -72,7 +72,7 @@
}); });
var options = {theme: 'simple'}; var options = {theme: 'simple'};
$('.language-sequence').each(function(i, ele) => { $('.language-sequence').each(function(i, ele){
var eleId = 'sequence_' + i; var eleId = 'sequence_' + i;
var d = Diagram.parse($(ele).text()); var d = Diagram.parse($(ele).text());
$('<div id="' + eleId +'"></div>').appendTo($(ele).parent('pre').get(0)); $('<div id="' + eleId +'"></div>').appendTo($(ele).parent('pre').get(0));