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

version_check_image.js « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d4f716acb72e64b3fbfa564073d671261571d510 (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;

module.exports = VersionCheckImage;