From 84ffbd1c8b6b9c7889efbcb1c76a890332a3dc92 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 8 Jan 2022 03:13:20 +0100 Subject: [PATCH] Remove unused moment reference --- app/javascript/packs/legacy.coffee | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/javascript/packs/legacy.coffee b/app/javascript/packs/legacy.coffee index bd979b9f..dd5ab65d 100644 --- a/app/javascript/packs/legacy.coffee +++ b/app/javascript/packs/legacy.coffee @@ -9,7 +9,6 @@ import 'particleground/jquery.particleground.min' import 'jquery.growl' import 'sweetalert' import Cookies from 'js-cookie' -import moment from 'moment' require('nprogress/nprogress.css') require('jquery.growl/stylesheets/jquery.growl.css') @@ -26,8 +25,6 @@ import '../legacy/report' import '../legacy/locale-box' import '../legacy/util' -window.moment = moment - window.translate = (scope, options) -> # for some reason I18n errors when calling it by assign proxy, so we got to wrap it I18n.translate(scope, options)