From 3576c00110986bc42f21f4a698f68f6fd9d3dfb6 Mon Sep 17 00:00:00 2001 From: Benoit Alessandroni <benoit@happy-dev.fr> Date: Tue, 8 Dec 2020 17:05:36 +0100 Subject: [PATCH] update: switch to core 0.14 --- src/includes/contributor/dashboard.pug | 2 +- src/includes/head.pug | 8 ++++---- src/includes/public/resources/detail.pug | 2 +- src/includes/searcher/resources/detail.pug | 2 +- src/scripts/dispatch-space-n-user.js | 2 +- src/scripts/kb-reactivity.js | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/includes/contributor/dashboard.pug b/src/includes/contributor/dashboard.pug index b6a1fe60..c843a9f2 100644 --- a/src/includes/contributor/dashboard.pug +++ b/src/includes/contributor/dashboard.pug @@ -81,7 +81,7 @@ section#home counter-template=`<p>${data.Comments} (\${counter})</p>` ) - sib-conversation( + solid-conversation( bind-resources nested-field="conversations" comment-input-label-text=`${data.AddAComment}` diff --git a/src/includes/head.pug b/src/includes/head.pug index c0630056..2baa2e04 100644 --- a/src/includes/head.pug +++ b/src/includes/head.pug @@ -4,12 +4,12 @@ head <meta name="viewport" content="width=device-width, initial-scale=1"> //- script(type="module" src="/scripts/sib-core/dist/polyfill.js") //- script(type="module" src="/scripts/sib-core/dist/index.js") - script(type="module" src="https://unpkg.com/@startinblox/core@0.13") - script(type="module" src="https://unpkg.com/@startinblox/router@0.11") + script(type="module" src="https://cdn.skypack.dev/@startinblox/core@0.14") + script(type="module" src="https://cdn.skypack.dev/@startinblox/router@0.11") //- script(type="module" src="/scripts/sib-router/src/index.js") //- script(type="module" src="/scripts/sib-auth/index.js") - script(type="module" src="https://unpkg.com/@startinblox/oidc@0.8") - script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.6") + script(type="module" src="https://cdn.skypack.dev/@startinblox/oidc@0.12") + script(type="module" src="https://cdn.skypack.dev/@startinblox/component-conversation@0.8") script(src="https://kit.fontawesome.com/48014d2af3.js") script(src="https://unpkg.com/dialog-polyfill") script(src="https://cdn.jsdelivr.net/npm/sweetalert2@9") diff --git a/src/includes/public/resources/detail.pug b/src/includes/public/resources/detail.pug index 8622144f..cbe78518 100644 --- a/src/includes/public/resources/detail.pug +++ b/src/includes/public/resources/detail.pug @@ -125,7 +125,7 @@ counter-template=`<p>${data.Comments} (\${counter})</p>` ) - sib-conversation( + solid-conversation( bind-resources nested-field="conversations" comment-input-label-text=`${data.AddAComment}` diff --git a/src/includes/searcher/resources/detail.pug b/src/includes/searcher/resources/detail.pug index 58094f4c..0fe93fa3 100644 --- a/src/includes/searcher/resources/detail.pug +++ b/src/includes/searcher/resources/detail.pug @@ -123,7 +123,7 @@ counter-template=`<p>${data.Comments} (\${counter})</p>` ) - sib-conversation( + solid-conversation( no-render bind-resources nested-field="conversations" diff --git a/src/scripts/dispatch-space-n-user.js b/src/scripts/dispatch-space-n-user.js index dc09eaba..ff90f349 100644 --- a/src/scripts/dispatch-space-n-user.js +++ b/src/scripts/dispatch-space-n-user.js @@ -1,4 +1,4 @@ -import { store } from 'https://unpkg.com/@startinblox/core@0.13'; +import { store } from 'https://cdn.skypack.dev/@startinblox/core@0.14'; // import { store } from '/scripts/sib-core/dist/index.js'; const sibAuth = document.querySelector('sib-auth'); diff --git a/src/scripts/kb-reactivity.js b/src/scripts/kb-reactivity.js index 9a9be22b..ad5435e4 100644 --- a/src/scripts/kb-reactivity.js +++ b/src/scripts/kb-reactivity.js @@ -1,6 +1,6 @@ -import { store } from 'https://unpkg.com/@startinblox/core@0.13'; -import { Sib } from "https://unpkg.com/@startinblox/core@0.13/dist/libs/Sib.js"; -import { StoreMixin } from "https://unpkg.com/@startinblox/core@0.13/dist/mixins/storeMixin.js"; +import { store } from 'https://cdn.skypack.dev/@startinblox/core@0.14'; +import { Sib } from "https://cdn.skypack.dev/@startinblox/core@0.14/dist/libs/Sib.js"; +import { StoreMixin } from "https://cdn.skypack.dev/@startinblox/core@0.14/dist/mixins/storeMixin.js"; // import { store } from '/scripts/sib-core/dist/index.js'; // import { Sib } from "/scripts/sib-core/dist/libs/Sib.js"; -- GitLab