RequireJS + Bootstrap
<p>I'm trying to use Bootstrap after loading it by RequireJS. Tried almost everything but still getting: <code>Uncaught TypeError: $(...).modal is not a function</code></p>

<p>config:</p>

<pre><code>require.config({
    paths: {
        jquery: 'vendor/jquery-1.10.2.min',
        underscore: 'vendor/lodash',
        backbone: 'vendor/backbone.min',
        text: 'vendor/plugins/text',
        bootstrap: 'vendor/bootstrap.min'
    },
    shim: {
        bootstrap: {deps : ['jquery'], exports: '$'}
    }

});

require([
    'app',
    'bootstrap'
], function(App){
    App.initialize();
});
</code></pre>

<p>file that is supposed to use modal()</p>

<pre><code>define([
    'jquery',
    'underscore',
    'backbone',
    //...
    'bootstrap'
], function($, _, //...
    ){
    //.......
renderPlaceForm: function(e) {
        e.preventDefault();
        $('#place-modal').modal('show');
    }
//.....
</code></pre>

<p>I also tried omitting the "exports", loading bootstrap in App is also one of my tries. What is wrong?</p>