With legacy versions of StealJS, I had to settle for wrapping each
library manually with steal(), because otherwise this error would occur
- caused by the contents of jquery-ui.js being evaluated before jquery.js.
Example of jquery-ui.js:
- steal('jquery', function(jQuery) {
- // ... original contents of jquery-ui.js goes here ...
-
- });
Obviously not ideal, but it takes a few seconds, and you can go
back to being productive :)