dist/cropper.common.js
function destroy() {
    var element = this.element;


    if (!getData(element, NAMESPACE)) {
      return this;
    }

    if (this.isImg && this.replaced) {
      element.src = this.originalUrl;
    }

    this.uncreate();
    removeData(element, NAMESPACE);

    return this;
  }
function destroy() {
    var element = this.element;


    if (!getData(element, NAMESPACE)) {
      return this;
    }

    if (this.isImg && this.replaced) {
      element.src = this.originalUrl;
    }

    this.uncreate();
    removeData(element, NAMESPACE);

    return this;
  }
function destroy ( ) { var element = this . element ; if ( ! getData ( element , NAMESPACE ) ) { return this ; } if ( this . isImg && this . replaced ) { element . src = this . originalUrl ; } this . uncreate ( ) ; removeData ( element , NAMESPACE ) ; return this ; }
Destroy the cropper and remove the instance from the image
@returns {Cropper} this
Destroy the cropper and remove the instance from the image