Remove unused moment reference
This commit is contained in:
parent
e565df2915
commit
84ffbd1c8b
|
@ -9,7 +9,6 @@ import 'particleground/jquery.particleground.min'
|
||||||
import 'jquery.growl'
|
import 'jquery.growl'
|
||||||
import 'sweetalert'
|
import 'sweetalert'
|
||||||
import Cookies from 'js-cookie'
|
import Cookies from 'js-cookie'
|
||||||
import moment from 'moment'
|
|
||||||
|
|
||||||
require('nprogress/nprogress.css')
|
require('nprogress/nprogress.css')
|
||||||
require('jquery.growl/stylesheets/jquery.growl.css')
|
require('jquery.growl/stylesheets/jquery.growl.css')
|
||||||
|
@ -26,8 +25,6 @@ import '../legacy/report'
|
||||||
import '../legacy/locale-box'
|
import '../legacy/locale-box'
|
||||||
import '../legacy/util'
|
import '../legacy/util'
|
||||||
|
|
||||||
window.moment = moment
|
|
||||||
|
|
||||||
window.translate = (scope, options) ->
|
window.translate = (scope, options) ->
|
||||||
# for some reason I18n errors when calling it by assign proxy, so we got to wrap it
|
# for some reason I18n errors when calling it by assign proxy, so we got to wrap it
|
||||||
I18n.translate(scope, options)
|
I18n.translate(scope, options)
|
||||||
|
|
Loading…
Reference in New Issue