title: supporting both CommonJS and AMD
body: <p>Is there a way to create a javascript micro-library (a library that has no dependencies), that support all of the following module formats:</p>
  
  <ul>
  <li>Asynchronous Module Definition</li>
  <li>CommonJS</li>
  <li>exposing the library's exports as a global namespace object (no loader)</li>
  </ul>