title: Kendo Modules and RequireJS (r.js) not playing nice. (Error on loading)
body: <p>I am using <code>Kendo UI</code> version <code>2013.1.514</code> and <code>RequireJS</code> (<code>r.js</code> version <code>2.1.6</code>)</p>
  
  <p>My project runs perfectly under the standard <code>RequireJS</code> on-demand loading.</p>
  
  <p>However, when I try to use the optimizer, none of the Kendo will load.  Including any of them gives the famous-and-irritation <code>Uncaught Error: Mismatched anonymous define() module:</code> error.</p>
  
  <p>This is my configuration:</p>
  
  <pre><code>{
      "baseUrl": "../Scripts",
      "name": "../Scripts/js_modules/base_module.js",
      "include": [],
      paths: {
          k: "Frameworks/kendo-2013.1.514-fixed",
          jquery: "Frameworks/jQuery/jquery.min",
          jplugin: "Frameworks/jQuery",
          f: "Frameworks/"
      },
      shim: {
          'jquery.dataSelector': {
              deps: ['jquery'],
              exports: 'jquery.dataSelector'
          },
  
      },
      "exclude": [],
      "optimize": "none",
      "out": "built-base-modules.js"
  }
  </code></pre>
  
  <p>And <code>base_module.js</code></p>
  
  <pre><code>define( function( require ) {
  
  // Don't do anything with them.
  // Just define them.
  
      require("jquery");
      require("k/kendo.core.min");
      //require("k/kendo.userevents.min");
      //require("kendoize/kendoize")
  });
  </code></pre>
  
  <p>I am not sure if this is related or not, but the dependency tracing does not appear to work correctly either.  (It will successfully trace one level deep, but not two levels deep.  I had attempted to add <code>core.min</code> and <code>userevents.min</code> manually to see if that resolved the issue.)</p>
  
  <p>Has anyone experienced this issue with Kendo?  Or perhaps something similar?  I checked through a bunch of existing questions, but didn't find anything connected to this setup.</p>
  
  <p>I can post additional information, if needed, but the detailed console.log message crashed somewhere inside of require.js -- not at a usable syntax error.</p>
  
  <p><strong>Additional Information</strong></p>
  
  <p>The HTML/Javascript on the page itself</p>
  
  <pre><code>    &lt;script src="/Business/Scripts/require.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
      (function () {
          "use strict";
  
          var configObject = {
              shim: {
                  'jquery.dataSelector': {
                      deps: ['jquery'],
                      exports: 'jquery.dataSelector'
                  },
              },
              baseUrl: "http://760.j6.local:80/Business/Scripts",
                  paths: {
                      app: "http://760.j6.local:80/Business",
                      k: "http://760.j6.local:80/Business" + "/Scripts/Frameworks/kendo-2013.1.514",
                      jquery: "http://760.j6.local:80/Business" + "/Scripts/Frameworks/jQuery/jquery.min",
                      jplugin: "http://760.j6.local:80/Business" + "/Scripts/Frameworks/jQuery",
                      f: "http://760.j6.local:80/Business" + "/Scripts/Frameworks/",
                  }
              };
  
              requirejs.config(configObject);
          }());
  &lt;/script&gt;
  
      &lt;script src="/Business/_build/built-base-modules.js"&gt;&lt;/script&gt;
  </code></pre>