Refactoring

This commit is contained in:
Julia Radzhabova 2022-06-20 23:09:49 +03:00
parent 51bac7324a
commit a08b4737d5

View file

@ -30,7 +30,7 @@ class CThumbnailLoader {
xhr.send(null);
}
_openBinary(arrayBuffer) {
openBinary(arrayBuffer) {
//var t1 = performance.now();
const binaryAlpha = this.binaryFormat;
@ -116,7 +116,7 @@ class CThumbnailLoader {
}
if (!this.data && !this.offsets) {
this._openBinary(this.binaryFormat);
this.openBinary(this.binaryFormat);
}
let dataTmp = ctx.createImageData(this.width, this.heightOne);