mirror of
https://github.com/wassname/template.git
synced 2026-07-10 20:54:18 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4745281c2b | |||
| ebffcb4416 |
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "distill-template",
|
"name": "distill-template",
|
||||||
"version": "2.2.4",
|
"version": "2.2.5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "distill-template",
|
"name": "distill-template",
|
||||||
"version": "2.2.4",
|
"version": "2.2.5",
|
||||||
"description": "Template for creating Distill articles.",
|
"description": "Template for creating Distill articles.",
|
||||||
"main": "dist/template.v2.js",
|
"main": "dist/template.v2.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ const addBackIn = `
|
|||||||
window.addEventListener('WebComponentsReady', function() {
|
window.addEventListener('WebComponentsReady', function() {
|
||||||
console.warn('WebComponentsReady');
|
console.warn('WebComponentsReady');
|
||||||
const loaderTag = document.createElement('script');
|
const loaderTag = document.createElement('script');
|
||||||
loaderTag.src = 'http://localhost:8888/dist/template.v2.js';
|
loaderTag.src = '/template.v2.js';
|
||||||
document.head.insertBefore(loaderTag, document.head.firstChild);
|
document.head.insertBefore(loaderTag, document.head.firstChild);
|
||||||
});
|
});
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user