Skip to content

Remove Autosave class from global namespace

Mike Greiling requested to merge es-module-autosave into master

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

Merge request reports