If you assign a config to window.steal (before loading stealjs), you can use it to tell stealjs which libraries you've already loaded/executed (so it won't load jquery by itself any more). Then, in stealconfig.js, you set up a shim to export the "jQuery" global variable as the output of the 'jquery' dependency, so that it can be passed to the steal() callback (so it looks/acts like all the other dependencies).
There's currently a bug with that second part, but it's fixable with a local modification. Here are some more details, and the sample code we used to get this to work: https://forum.javascriptmvc.com/topic/shim-exports-for-already-loaded-js-files
(If you do make that local modification to steal.js, make sure you also apply it to steal.production.js)
There's currently a bug with that second part, but it's fixable with a local modification. Here are some more details, and the sample code we used to get this to work: https://forum.javascriptmvc.com/topic/shim-exports-for-already-loaded-js-files
(If you do make that local modification to steal.js, make sure you also apply it to steal.production.js)