Commit 12bb2586 authored by Lukas Eipert's avatar Lukas Eipert

Move jquery.endless-scroll import away from main

This moves the import of `jquery.endless-scroll` from main to
`app/assets/javascripts/pager.js`

It is the only file that utilizes it and thus we don't need to load it
on every page.

The issue to replace it completely can be found here:
https://gitlab.com/gitlab-org/gitlab/-/issues/219367
parent 9766ca6f
......@@ -2,7 +2,6 @@ import 'jquery';
// common jQuery plugins
import 'jquery-ujs';
import 'vendor/jquery.endless-scroll';
import 'jquery.caret'; // must be imported before at.js
import '@gitlab/at.js';
import 'vendor/jquery.scrollTo';
......
import $ from 'jquery';
import 'vendor/jquery.endless-scroll';
import { getParameterByName } from '~/lib/utils/common_utils';
import axios from '~/lib/utils/axios_utils';
import { removeParams } from '~/lib/utils/url_utility';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment