From 43d17d7b1c9ae00ad9cba1e7c2c9b9d2120565a8 Mon Sep 17 00:00:00 2001 From: gaelle morin Date: Thu, 2 Apr 2020 17:39:25 +0200 Subject: [PATCH] update: test in dependencies --- src/dependencies.pug | 53 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/src/dependencies.pug b/src/dependencies.pug index 2e7f26f..76ab35d 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -14,7 +14,11 @@ if libLocal script(type="module" src="/lib/sib-conversation/sib-conversation.js") if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users)) script(type="module" src="/lib/sib-directory/sib-directory.js") +<<<<<<< HEAD if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards) +======= + if endpoints.dashboard || (endpoints.get && endpoints.get.dashboard) +>>>>>>> 7e58f36... update: test in dependencies script(type="module" src="/lib/sib-dashboard/sib-dashboard.js") else script(type="module" src="https://unpkg.com/@startinblox/oidc@0.8") @@ -30,8 +34,57 @@ else script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3") if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users)) script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.3") +<<<<<<< HEAD if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards) script(type="module" src="https://unpkg.com/@startinblox/component-dashboard@0.1") +======= + if endpoints.dashboard || (endpoints.get && endpoints.get.dashboard) + script(type="module" src="https://unpkg.com/@startinblox/component-dashboard@0.1") + + + + + +//- script(src="/scripts/index.js") + +//- Scripts - use add `"libLocal" = true` on config.json to use your local `lib` folder +//- + if libLocal + script(type="module" src="/lib/sib-oidc/index.js") + script(type="module" src="/lib/sib-router/src/index.js") + script(type="module" src="/lib/sib-notifications/index.js") + if endpoints.users || (endpoints.get && endpoints.get.users) + script(type="module" src="/lib/sib-chat/sib-chat.js") + if endpoints.events || (endpoints.get && endpoints.get.events) + script(type="module" src="/lib/sib-event/sib-event.js") + if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers) + script(type="module" src="/lib/sib-job-board/sib-job-board.js") + script(type="module" src="/lib/sib-conversation/sib-conversation.js") + if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users)) + script(type="module" src="/lib/sib-directory/sib-directory.js") + else + script(type="module" src="https://unpkg.com/@startinblox/oidc@0.8") + script(type="module" src="https://unpkg.com/@startinblox/core@0.9") + script(type="module" src="https://unpkg.com/@startinblox/router@0.7") + script(type="module" src="https://unpkg.com/@startinblox/component-notifications@0.3") + if endpoints.users || (endpoints.get && endpoints.get.users) + script(type="module" src="https://unpkg.com/@startinblox/component-chat@0.5") + if endpoints.events || (endpoints.get && endpoints.get.events) + script(type="module" src="https://unpkg.com/@startinblox/component-event@0.1") + if endpoints.joboffers || (endpoints.get && endpoints.get.joboffers) + script(type="module" src="https://unpkg.com/@startinblox/component-job-board@0.3") + script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.3") + if publicDirectory && (endpoints.users || (endpoints.get && endpoints.get.users)) + script(type="module" src="https://unpkg.com/@startinblox/component-directory@0.3") + + script(type="module" src="/lib/sib-dashboard/sib-dashboard.js") + + + + + + +>>>>>>> 7e58f36... update: test in dependencies //- Stylesheets link(rel='stylesheet', href='/styles/index.css')