1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-12-26 09:28:22 +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>
<?lua end ?>
<script>
$(document).ready(function() {
<?lua if render then ?>
$(document).ready(function() {
$('pre code').each(function(i, block) {
hljs.highlightBlock(block);
hljs.lineNumbersBlock(block);
});
});
<?lua end ?>
window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
@ -68,7 +70,6 @@
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
});
</script>
</head>
<body>