Welcome to mirror list, hosted at ThFree Co, Russian Federation.

version_check_image.js.es6 « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1fa2b5ac3995ab1def54eda8755d167cf762aca1 (plain)
1
2
3
4
5
6
7
8
9
10
(() => {
  class VersionCheckImage {
    static bindErrorEvent(imageElement) {
      imageElement.off('error').on('error', () => imageElement.hide());
    }
  }

  window.gl = window.gl || {};
  gl.VersionCheckImage = VersionCheckImage;
})();