title: RequireJS relative paths
body: <p>I'm new to RequireJS. I'm writing a number of custom bindings in Knockout.js and want to  split them up using modules. </p>
  
  <p>The layout of my code at the moment is:</p>
  
  <pre><code>/
    default.html
    js
      code.js
      require-config.js 
      lib
        /require.js
        bridge
          bridge.js
          bindings1.js
          bindings2.js
          bindings3.js
  </code></pre>
  
  <p>I want to load bridge.js from default.html and have that load in all of the bindings files. I've tried loading bridge.js using a  or inline js using the require function.</p>
  
  <p>My require-config is very simple:</p>
  
  <pre><code>require.config({
      baseUrl: '/'
  });
  </code></pre>
  
  <p>In bridge.js, I am having problems loading the files using a relative path. I tried:</p>
  
  <pre><code>require(['./bindings1', './bindings2', './bindings3'], function () {
      console.log('loaded');
  });
  </code></pre>
  
  <p>But this just ends up using the path baseUrl + 'bindings1.js', for example. I've tried various iterations in bridge.js. The only success I've had is if I write the entire path:</p>
  
  <pre><code>require(['js/bridge/bindings1', 'js/bridge/bindings2', 'js/bridge/bindings3'], function () {
      console.log('loaded');
  });
  </code></pre>
  
  <p>But that is not what I want. This seems like a pretty basic use case and I think I may be misunderstanding how the relative paths work. </p>
  
  <p>Thanks</p>