增强友联可扩展性
This commit is contained in:
1 parent
5ce12576c7
commit
e32ca6759d
20 files changed
+632
-383
No files matched your search
@@ -89,7 +89,7 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
|
||||
var currentPath = "\/post\/helloworld\/";
|
||||
currentPath = "\/post\/helloworld\/";
|
||||
|
||||
|
||||
fetchCommentsAndCreateBarrager(currentPath, {
|
||||
@@ -126,14 +126,19 @@
|
||||
<script src="/js/main.js"></script>
|
||||
<script src="/js/mypjax.js"></script>
|
||||
<script src="/js/nprogress.js"></script>
|
||||
<script>var currentPath = "\/post\/helloworld\/";</script>
|
||||
<script>
|
||||
var currentPath = "\/post\/helloworld\/";
|
||||
document.addEventListener("pjax:send", function () {
|
||||
var currentPath = "\/post\/helloworld\/";
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="module">
|
||||
import { init as walineInit } from 'https://unpkg.com/@waline/client@v3/dist/waline.js';
|
||||
|
||||
|
||||
window.walineInit = walineInit;
|
||||
|
||||
|
||||
|
||||
window.initWaline = function() {
|
||||
walineInit({
|
||||
|
||||
Reference in new issue
Block a user