dist/js/cropjs.js
function(crop) {
            if(typeof crop === 'undefined') {
                crop = this._crop;
            }
            crop.usable = !crop.usable;
            this._renderUpdatedPreview(crop);

            if (crop.id === this._crop.id) {
                this._cropUsableToggle.on = crop.usable;
            }
        }
function(crop) {
            if(typeof crop === 'undefined') {
                crop = this._crop;
            }
            crop.usable = !crop.usable;
            this._renderUpdatedPreview(crop);

            if (crop.id === this._crop.id) {
                this._cropUsableToggle.on = crop.usable;
            }
        }
function ( crop ) { if ( typeof crop === 'undefined' ) { crop = this . _crop ; } crop . usable = ! crop . usable ; this . _renderUpdatedPreview ( crop ) ; if ( crop . id === this . _crop . id ) { this . _cropUsableToggle . on = crop . usable ; } }
Toggle a specified crops usable field, or the current crop if left out
@param crop
Toggle a specified crops usable field or the current crop if left out