jrburke/amdefine — pull request #15 by stasm (2013-05-08 08:45:40+00:00)
Title: Named modules should be able to require other files

It should be possible to have amdefine `require()` modules from other files when the parent module is explicitly named.

Assume there are two files in the same directory: `foo.js` and `bar.js`. The pull request make it possible to write code like this:

```
define('foo', function(require) {
var bar = require('./bar');
});
module.exports = define.require('foo');
```