gitlab-org--gitlab-foss/app/assets/javascripts/version_check_image.js.es6
2017-02-22 11:34:44 +00: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;