title: How use require.js to load jQuery with noConflict
body: <p>I am trying to load jquery in noConflict mode by using require</p>
  
  <pre><code>require.config({
      paths: {
          'jquery': 'libs/jquery-req',
          underscore: 'libs/underscore',
          backbone: 'libs/backbone'
      },
      shim: {
          jquery: {
              init: function() {
                  console.log('jq init');
                  var jq = this.jQuery.noConflict(true);
                  jq.support.cors = true;
  
                  return jq;
              },
              exports: '$'
          },
          backbone: {
              deps: ['underscore', 'jquery'],
              init: function() {
                  console.log('b init');
              },
              exports: 'Backbone'
          },
          underscore: {
              exports: '_'
          }
      }
  });
  </code></pre>
  
  <p>and use it like that:</p>
  
  <pre><code>define([
      'jquery',
      'underscore',
      'backbone'
  ], function(jq, _, Backbone) {
      console.log(jq);
      var initialize = function() {
  //        Router.initialize();
      };
  
      return {
          initialize: initialize
      };
  });
  </code></pre>
  
  <p>unfortunately it seems shim.jquery.init function is never called. Can someone try to help me understand why? What is strange when I rename jquery -> jquery-reg then it seems to work, but it requires to change dependency defined in every files. </p>