scottcheng / cropit

A "customizable crop and zoom" jQuery plugin.
http://scottcheng.github.io/cropit/
MIT License
874 stars 305 forks source link

Update cropit.js #206

Open edvinasnet opened 7 years ago

edvinasnet commented 7 years ago

Bugfix with jQuery 3 > error "Cannot read property 'push' of undefined weird error"

benallfree commented 7 years ago

Did you paste that from a webpack version?

edvinasnet commented 7 years ago

yes

benallfree commented 7 years ago

It doesn't work to paste webpack code back into the source. Besides, the solution is to use jquery-migrate. See the SO article

massimopasquali commented 7 years ago

Hello, I must to pass to cropit a link to image like "c:\image\pippo.jpg", without using the button for choosing the file, but I must to pass an dataUri base64 for example ""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAAxUlEQVR4nO3BMQEAAADCoPVPbQhfoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA1v9QAATX68/0AAAAASUVORK5CYII="

can someone explaning me like to do?