Commit 54d100a8 authored by Matthieu Fesselier's avatar Matthieu Fesselier

bugfix: import moment js

parent 51237f87
Pipeline #3964 passed with stage
in 27 seconds
......@@ -19,7 +19,6 @@
<script type="module" src="https://unpkg.com/@startinblox/core@0.7"></script>
<script type="module" src="https://unpkg.com/@startinblox/router"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<style>
:root{
......
......@@ -2,7 +2,8 @@ import { SIBTemplateElement, store, Helpers } from 'https://unpkg.com/@startinbl
import Favico from 'https://dev.jspm.io/favico.js-slevomat';
const base_url = import.meta.url.replace(/\/[^\/]*$/, '');
Helpers.importCSS(`${base_url}/css/notification.css`)
Helpers.importCSS(`${base_url}/css/notification.css`);
Helpers.importJS('https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js');
class SIBNotifications extends SIBTemplateElement {
constructor() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment