diff --git a/server/util.js b/server/util.js index d1c9266a8..0a8877b80 100644 --- a/server/util.js +++ b/server/util.js @@ -1,9 +1,5 @@ -/* - * Common functions - can be used in frontend or backend - */ - - - +// Common JS cannot be used in frontend sadly +// sleep, ucfirst is duplicated in ../src/util-frontend.js exports.sleep = function (ms) { return new Promise(resolve => setTimeout(resolve, ms)); diff --git a/src/components/CountUp.vue b/src/components/CountUp.vue index b90f430e4..33904b6a9 100644 --- a/src/components/CountUp.vue +++ b/src/components/CountUp.vue @@ -5,7 +5,7 @@