The RequireJS docs say that to support older versions of IE, you need to configure enforceDefine: true.
So if you want to support Interne
@lexeme & @benjaminbenben how about wrapping this concept in a RequireJS plugin which creates the shim, requires jQuery and also returns jQuery so you wouldn't need to include this manually?
To use a bootstrap component you would simply use:
define(['bootstrap!tooltip'], function($){
$('[data-toggle="tooltip"]').tooltip();
});
And you would use this require-bootstrap-plugin to make it work.