gfranko / jquery.selectBoxIt.js

A jQuery Select Box Plugin for Mobile, Tablet, and Desktop
http://www.selectboxit.com
MIT License
852 stars 301 forks source link

Can't load it with RequireJS on a Optimized file #355

Closed andres-torres-marroquin closed 3 years ago

andres-torres-marroquin commented 8 years ago

Hello, I'm using RequireJS and bower installed jQuery UI 1.11.2, I can make it work with RequireJS, but when I compile the file, jQuery UI is not being loaded before it tries to load selectBoxIt. I made a fork and I wrapped the jquery.selectBoxIt.js with AMD, the modified file can be seen here: https://github.com/andres-torres-marroquin/jquery.selectBoxIt.js/blob/master/src/javascripts/jquery.selectBoxIt.js

Any clue on how to solve this correctly? Thanks.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28896882-can-t-load-it-with-requirejs-on-a-optimized-file?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).