mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: Remove jQuery from main entry point
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
c35c42f802
commit
0fd567a8d3
3 changed files with 5 additions and 6 deletions
|
|
@ -23,8 +23,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import { registerAppsSlideToggle } from './OC/apps.js'
|
||||
import $ from 'jquery'
|
||||
import 'core-js/stable/index.js'
|
||||
import 'regenerator-runtime/runtime.js'
|
||||
import './Polyfill/index.js'
|
||||
|
|
@ -36,6 +34,7 @@ import OC from './OC/index.js'
|
|||
import './globals.js'
|
||||
import './jquery/index.js'
|
||||
import { initCore } from './init.js'
|
||||
import { registerAppsSlideToggle } from './OC/apps.js'
|
||||
|
||||
window.addEventListener('DOMContentLoaded', function() {
|
||||
initCore()
|
||||
|
|
@ -45,6 +44,6 @@ window.addEventListener('DOMContentLoaded', function() {
|
|||
if (window.history.pushState) {
|
||||
window.onpopstate = _.bind(OC.Util.History._onPopState, OC.Util.History)
|
||||
} else {
|
||||
$(window).on('hashchange', _.bind(OC.Util.History._onPopState, OC.Util.History))
|
||||
window.onhashchange = _.bind(OC.Util.History._onPopState, OC.Util.History)
|
||||
}
|
||||
})
|
||||
|
|
|
|||
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue