Remove Autosave class from global namespace
What does this MR do?
- refactor
Autosave
into ES class syntax - export
Autosave
as an ES module - replace uses of
window.Autosave
with proper ES module imports. - fix some eslint rules in
Autosave
class.
related to: gitlab-org/gitlab-ce#38869
Edited by Mike Greiling