1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 02:18:20 +01:00
This commit is contained in:
Xuan Sang LE 2018-03-15 23:38:32 +01:00
parent f544143c54
commit 1b266f3c7d

View File

@ -30,12 +30,14 @@
<script src="rst/hljs/highlightjs-line-numbers.min.js"> </script> <script src="rst/hljs/highlightjs-line-numbers.min.js"> </script>
<?lua end ?> <?lua end ?>
<script> <script>
$(document).ready(function() {
<?lua if render then ?> <?lua if render then ?>
$(document).ready(function() {
$('pre code').each(function(i, block) { $('pre code').each(function(i, block) {
hljs.highlightBlock(block); hljs.highlightBlock(block);
hljs.lineNumbersBlock(block); hljs.lineNumbersBlock(block);
}); });
});
<?lua end ?> <?lua end ?>
window.twttr = (function(d, s, id) { window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0], var js, fjs = d.getElementsByTagName(s)[0],
@ -68,7 +70,6 @@
po.src = 'https://apis.google.com/js/plusone.js'; po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})(); })();
});
</script> </script>
</head> </head>
<body> <body>