dist/js/cropjs.js
function() {
            if (this._autocrop && this._applyAutocrop) {
                if (!this.toggleLoadingImage()) {
                    this.toggleLoadingImage(true)
                }

                if (this._image.autocrop()) {
                    this.redraw();
                }
            }

            if (this._waitForWorkers == 0) {
                this.toggleLoadingImage(false);
            }
        }
function() {
            if (this._autocrop && this._applyAutocrop) {
                if (!this.toggleLoadingImage()) {
                    this.toggleLoadingImage(true)
                }

                if (this._image.autocrop()) {
                    this.redraw();
                }
            }

            if (this._waitForWorkers == 0) {
                this.toggleLoadingImage(false);
            }
        }
function ( ) { if ( this . _autocrop && this . _applyAutocrop ) { if ( ! this . toggleLoadingImage ( ) ) { this . toggleLoadingImage ( true ) } if ( this . _image . autocrop ( ) ) { this . redraw ( ) ; } } if ( this . _waitForWorkers == 0 ) { this . toggleLoadingImage ( false ) ; } }
Auto crop images
Auto crop images