scottcheng / cropit

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

Global jQuery, Chrome speed improvement, and bugfix #228

Closed benallfree closed 2 years ago

benallfree commented 7 years ago

This PR fixes a few issues I've been wrestling with:

  1. Assume the global presence of jQuery. When including cropit in another lib, the require('jquery') was loading a separate jQuery module instead of using the global one. I changed the code to just not require jQuery at all and assume it's in the global namespace. Thoughts?
  2. Included jquery-migrate support for jQuery 3.x
  3. require('./Zoomer) capitalization fix.
  4. Chrome dialog fix (same as #214)