simple `crop = false` instead of `crop = {enabled: false}`
parse all crop options divided by comma,
use the first one
pass container in CropWidget as first argument
remove onStateChange (no explicit states in future)
remove loading state. image loading is best state
Use states for errors only
remove CropWidget.destroy
remove CropWidget.getCurrentCoords
remove CropWidget.__clearImage
remove CropWidget.croppedImageUrl
widgetSize option removed
rename CropWidget option scale to downscale
use preview modifier to fit cdn limits
fix crop options parsing
seems like Math.round gives more robust result without old bugs
move initialization to constructor
fix styles
set widget size before сreate widget
use already exiting info in __initCrop
split __initJcrop to constructor, setCrop and setSelection
change crop widget interface from promises to regular methods
remove crop widget test code
listen cropped image error