gitlab-org--gitlab-foss/app/assets/javascripts/version_check_image.js

11 lines
251 B
JavaScript
Raw Normal View History

2017-01-12 09:00:06 -05:00
class VersionCheckImage {
static bindErrorEvent(imageElement) {
imageElement.off('error').on('error', () => imageElement.hide());
}
2017-01-12 09:00:06 -05:00
}
2017-01-12 09:00:06 -05:00
window.gl = window.gl || {};
gl.VersionCheckImage = VersionCheckImage;
module.exports = VersionCheckImage;