mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 15:27:48 +01:00
fix JS errors that impede executing the rest of the JS (#170)
This commit is contained in:
parent
7a62f7d2c9
commit
17a177cc4b
1 changed files with 1 additions and 3 deletions
|
@ -2,6 +2,7 @@ import 'core-js/stable'
|
|||
import 'regenerator-runtime/runtime'
|
||||
|
||||
import '../legacy/jquery'
|
||||
import 'bootstrap'
|
||||
import {} from 'jquery-ujs'
|
||||
import 'jquery.guillotine'
|
||||
import 'particleground/jquery.particleground.min'
|
||||
|
@ -34,9 +35,6 @@ import '../legacy/util'
|
|||
|
||||
window.moment = moment
|
||||
|
||||
NProgress.configure
|
||||
showSpinner: false
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue