title: require.js jQuery noConflict shim - Why is init method never called
body: <p>I want to get rid of the global jQuery objects (window.$ and maybe also window.jQuery).</p>
  
  <p>data-main:</p>
  
  <pre><code>require.config({
      paths: {
          "jquery": "jquery-2.0.0"
      },
      shim: {
          "bootstrap": {
              deps: ["jquery"]
          },
          "jquery": {
              deps: [],
              init: function() {
                  return this.jQuery.noConflict(true);
              },
              exports: "jQuery"
          }
      }
  });
  
  require(["jquery", "bootstrap"], function($) {
      // ...
  });
  </code></pre>
  
  <p>What's wrong with this code? "init" is never called.</p>