title: How to use Web Workers into a Module build with Requirejs?
body: <p>I have a well working app writing with Requirejs and Backbonejs, but it's really slowing sometimes... For example when it comes to make some arithmetic work! I tried to use a Web Worker to do this arithmetic work like this :</p>
  
  <p><strong>My Module(traffic.js) :</strong></p>
  
  <pre><code>define(["jquery", "use!underscore", "use!backbone", "namespace" ],
    function ($, _, Backbone, globals) {
      .....  
      var worker = new Worker("arithmetic.js");
      worker.addEventListener('message', function(e) {
           console.log(e.data);
      }, false);
  
      worker.postMessage(globals.data); // Send data to our worker.
    });
  </code></pre>
  
  <p><strong>arithmetic.js :</strong></p>
  
  <pre><code>define(["use!underscore", "use!backbone" ],
    function ($, _) { 
        //Here die Operations
   });
  </code></pre>
  
  <p>But i have the Error <strong>define is not defined!!</strong></p>
  
  <p>I tried it like <a href="https://github.com/jrburke/requirejs/blob/master/tests/workers.js">this</a> too but no success!!</p>
  
  <p>How to use Web Worker into requirejs or with backbonejs??</p>
  
  <p>Thanks!</p>