fix JS errors that impede executing the rest of the JS (#170)
This commit is contained in:
parent
7a62f7d2c9
commit
17a177cc4b
|
@ -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 New Issue