dist/claygl.es.js
function () {
        if (this.image.px) {
            return isPowerOfTwo$1(this.image.px.width)
                && isPowerOfTwo$1(this.image.px.height);
        }
        else {
            return isPowerOfTwo$1(this.width)
                && isPowerOfTwo$1(this.height);
        }
    }
function () {
        if (this.image.px) {
            return isPowerOfTwo$1(this.image.px.width)
                && isPowerOfTwo$1(this.image.px.height);
        }
        else {
            return isPowerOfTwo$1(this.width)
                && isPowerOfTwo$1(this.height);
        }
    }
function ( ) { if ( this . image . px ) { return isPowerOfTwo$1 ( this . image . px . width ) && isPowerOfTwo$1 ( this . image . px . height ) ; } else { return isPowerOfTwo$1 ( this . width ) && isPowerOfTwo$1 ( this . height ) ; } }
Overwrite the isPowerOfTwo method
Overwrite the isPowerOfTwo method