Make polyfills link absolute. Release 2.2.7

This commit is contained in:
Ludwig Schubert
2017-11-07 15:44:42 -08:00
parent 2e6a0dda6d
commit 70d8507938
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "distill-template",
"version": "2.2.5",
"version": "2.2.7",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "distill-template",
"version": "2.2.5",
"version": "2.2.7",
"description": "Template for creating Distill articles.",
"main": "dist/template.v2.js",
"bin": {
+1 -1
View File
@@ -42,7 +42,7 @@ const addBackIn = `
window.addEventListener('WebComponentsReady', function() {
console.warn('WebComponentsReady');
const loaderTag = document.createElement('script');
loaderTag.src = '/template.v2.js';
loaderTag.src = 'https://distill.pub/template.v2.js';
document.head.insertBefore(loaderTag, document.head.firstChild);
});
`;