8 lines
229 B
JavaScript
8 lines
229 B
JavaScript
export default class VersionCheckImage {
|
|
static bindErrorEvent(imageElement) {
|
|
imageElement.off('error').on('error', () => imageElement.hide());
|
|
}
|
|
}
|
|
|
|
window.gl = window.gl || {};
|
|
gl.VersionCheckImage = VersionCheckImage;
|