From 204a0c7b9665e3f85b3839a3007c1063bd436e77 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 24 Feb 2022 13:49:57 +0100 Subject: chore: set up Ackee --- src/js/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/js/app.js') diff --git a/src/js/app.js b/src/js/app.js index 48e3725..df6eff4 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -5,6 +5,7 @@ import { currentLocale, supportedLanguages, } from './i18n/i18n'; +import { createAckeeInstance, setAckeeRecord } from './utilities/ackee'; import { hideToBottom, hideToLeft, @@ -360,9 +361,12 @@ function setAppLocale() { } /** - * Initialize the website with the projects list. + * Initialize the website with the projects list and Ackee. */ function init() { + const ackee = createAckeeInstance(); + + setAckeeRecord(ackee); setAppLocale(); translateHTMLContent(); replaceLegalNoticeLink(); -- cgit v1.2.3