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