title: RequireJS and Making validate method available in js file
body: <p>I have the following config.js</p>
  
  <pre><code>require.config({
    baseUrl: "/static/js",
    paths: {
      jquery: "src/jquery-1.7.2",
      jqueryui: "src/jquery-ui-1.10.0.custom/js/jquery-ui-custom", 
      angular: "src/angular/1.0.4/angular",
      bootstrap: "bootstrap/js/bootstrap"
    },
    shim: {
      "jquery-validation-1.10.0/dist/jquery.validation.min" : {
          deps: ["jquery"],
          exports: "jquery.validation"
      }
    }
  });
  </code></pre>
  
  <p>In a js file that I am loading up (named <code>signup.js</code>), I am attempting to make the <code>validate</code> method from jquery validation plugin available.</p>
  
  <pre><code># File signup.js
  
  define(["jquery"], function($) {
  
  $('#beta_signup_form button[type=submit]').attr("disabled", "disabled");
  
  $('#beta_signup_form').validate({
      rules: {
          name: {
              required: true,
              minlength: 4
          },
          email: {
              required: true,
              email: true 
          }
      },
      focusCleanup: true,
      onkeyup: false,
      errorElement: "span",
        ... the rest of the code ...
  </code></pre>
  
  <p>I am getting an error in my console which says <code>Uncaught TypeError: Object [object Object] has no method 'validate'</code>.</p>
  
  <p>How do I pass in the <code>validate</code> method to my <code>signup.js</code> script?</p>