gitlab-org--gitlab-foss/app/assets/javascripts/version_check_image.js
2017-03-05 21:22:40 +01:00

10 lines
251 B
JavaScript

class VersionCheckImage {
static bindErrorEvent(imageElement) {
imageElement.off('error').on('error', () => imageElement.hide());
}
}
window.gl = window.gl || {};
gl.VersionCheckImage = VersionCheckImage;
module.exports = VersionCheckImage;