rvera / image-picker

Image Picker is a simple jQuery plugin that transforms a select element into a more user friendly graphical interface.
http://rvera.github.com/image-picker
Other
906 stars 216 forks source link

Doesn't work with jQuery in noConflict mode #4

Closed jalefkowit closed 11 years ago

jalefkowit commented 11 years ago

When I try to use the plugin to create an image picker while jQuery is in noConflict mode so it can play nice with other frameworks, the plugin dies with an "TypeError: $ is not a function" error. When noConflict mode is not turned on (allowing jQuery can take over the "$" namespace), the plugin works fine.

rvera commented 11 years ago

Thanks for noticing this. If I understand correctly, replacing the reference to "$" with "jQuery" should do the trick. I'll test it and let you know.

rvera commented 11 years ago

I just pushed a new version that should fix this problem. Let me know if you find any further issues.