title: Using Q library in browser
body: <p>I need to use <code>Q</code> library (<a href="http://documentup.com/kriskowal/q/" rel="noreferrer">http://documentup.com/kriskowal/q/</a>) in the browser. I would like to use <code>RequireJS</code> to load this library, but I don't have any idea how to do this. I know how to load my own module, but I can't do it with <code>Q</code>. It has some function: </p>
  
  <pre><code>(function (definition) { 
    //some another code here***
    // RequireJS
  } else if (typeof define === "function" &amp;&amp; define.amd) {
    define(definition);
  </code></pre>
  
  <p>How can I load <code>Q</code> and then use it in another module?</p>