I\'m working with requirejs+jquery and i was wondering if there was a smart way to make a jQuery plugin work well with require.
For example i\'m using jQuery-cookie.
Just as an FYI to all some of the jquery plugins already use amd/require so you dont need to declare anything in the shim. In fact doing so might cause problems for you in some cases.
If you look in the jquery cookie JS you will see define calls and require(["jquery"]).
and in jquery.js you will see a call to define("jquery",[],function()...