Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Cropper will not register itself when jQuery not as $ #876

Closed
risototh opened this issue Apr 24, 2017 · 0 comments
Closed

Cropper will not register itself when jQuery not as $ #876

risototh opened this issue Apr 24, 2017 · 0 comments

Comments

@risototh
Copy link

We are not using $ for jQuery and the current version (v3.0.0-rc) of cropper will not register itself with jQuery.

Uncaught TypeError: $.extend is not a function
at cropper.js:3085
at $ (cropper.js:14)
at cropper.js:15

Solution is to change (factory(global.$)); on line 14 to (factory(global.jQuery));

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant